[8u] RFR 8237495: Java MIDI fails with a dereferenced memory error when asked to send a raw 0xF7

Sergey Bylokhov bylokhov at amazon.com
Fri Aug 6 05:57:55 UTC 2021


Hello,

Please review the backport of JDK-8241248 to 8u.

JBS: https://bugs.openjdk.java.net/browse/JDK-8237495
jdk8u patch: http://cr.openjdk.java.net/~serb/8237495/jdk8u-dev/webrev.00/
jdk16 patch: https://github.com/openjdk/jdk/commit/5de99da75c0b295328d382446b8751ae2a9720f5
jdk16 review: https://github.com/openjdk/jdk/pull/1135

This change fixes the crash when some specially crafted midi message is send
to the audio card. It was not proved that it is possible to provoke the crash
via playing the midi file, but to be safe I suggest to make a backport.

The patch applied cleanly. The sound tests passed. New test failed before fix and pass after.

-- 
Best regards, Sergey.


More information about the jdk8u-dev mailing list