JDK-7058697 : Unexpected exceptions in MID parser code
  • 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-24
  • Updated: 2015-01-21
  • Resolved: 2014-07-30
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
8u40Fixed 9 b28Fixed
Related Reports
Relates :  
Description
Unexpected exceptions in MID parser code.

Comments
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

EVALUATION SoftMidiAudioFileReader.getAudioInputStream(Sequence seq) method handles "set tempo" meta message (0x51) which must contain 3 data bytes. If the message is broken (and contains less than 3 data bytes) we get ArrayIndexOutOfBoundsException. The reader should ensures input data is correct.
27-06-2011