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

--
Best regards, Sergey.

Reply via email to