JDK-7058662 : AiffFileReader throws java.lang.ArithmeticException: division by zero when frame size is zero
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
We continue trying tofix these P4s in JDK8 , but some of them might not be fixed in JDK8 due to lack of resources.
The commitment to fix them as soon as possible still confirmed. They are tracking on JDK8 client-libs dashboard permanently.
please fix it in 8-dev
The fix for ArithmeticException is ready, but I still do not know where to fix it.
To calculate frame length AiffFileReader divides data length by frame size.
AiffFileReader reads frame size value from input data stream and does not checks the value (due the AIFF format specification frame size can be any number from 1 to 32).
The check for data correctness should be added.