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

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Mon Sep 19 16:05:58 UTC 2016

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 

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.

More information about the sound-dev mailing list