JDK-8054431 : Some of the input validation in the javasound is too strict
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.sound
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2014-08-06
  • Updated: 2018-11-14
  • Resolved: 2014-08-08
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.

To download the current JDK release, click here.
JDK 8 JDK 9 Other
8u40Fixed 9 b28Fixed openjdk7uFixed
Description
After the fix for JDK-7058700 our riffreader implementation is throwing a RIFFInvalidDataException if chunk size is too big, but it should throw something like UnsupportedFileFormat and give the chance to another provider,
Affected tests:
closed/javax/sound/sampled/FileReader/Aiff12bit.java
closed/javax/sound/sampled/FileReader/AIFFCp037.java
closed/javax/sound/sampled/FileReader/OpenWaveFile.java