<Sound Dev> [9] Review Request: 8166288 Au file format can be validated better

Alex Menkov alexey.menkov at oracle.com
Tue Sep 20 10:21:36 UTC 2016

Looks good.


On 19.09.2016 19:05, Sergey Bylokhov wrote:
> Hello, Audio Guru.
> Please review the fix for jdk9.
> The data(channels, sample rate) in AU file format are stored as unsigned
> 32-bit and we can incorrectly read them if the value will be bigger than
> Integer.MAX_INT.
> https://en.wikipedia.org/wiki/Au_file_format
> In the fix an additional checks were added to prevent incorrect(like
> negative) values passed to the upper level.
> No regressions were found by jtreg/jck tests.
> Bug: https://bugs.openjdk.java.net/browse/JDK-8166288
> Webrev can be found at: http://cr.openjdk.java.net/~serb/8166288/webrev.00

More information about the sound-dev mailing list