DescriptionWeb MIDI: MIDI input messages may be lost or cause a crash on OS X
MIDIPacketList can contain multiple MIDIPacket, but MIDIPacket objects
have different sizes depending on packet contents. So we should not
refer to MIDIPackets via array index, but should use MIDIPacketNext
that Core MIDI API provides to obtain the next object.
As a result, previous code may refer invalid memory region if large
MIDI messages are received at the same time.
BUG=456780, 374560
Committed: https://crrev.com/3cb91369e4dfa935884c0cdbfd1b664b0fe2c026
Cr-Commit-Position: refs/heads/master@{#318653}
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|