JDK-7058662 : AiffFileReader throws java.lang.ArithmeticException: division by zero when frame size is zero
Type:Bug
Component:client-libs
Sub-Component:javax.sound
Affected Version:7
Priority:P4
Status:Resolved
Resolution:Fixed
OS:linux_2.6
CPU:x86
Submitted:2011-06-23
Updated:2013-11-07
Resolved:2013-10-09
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.
26-09-2013
please fix it in 8-dev
19-09-2013
The fix for ArithmeticException is ready, but I still do not know where to fix it.
19-09-2013
EVALUATION
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.