Truncate MIDI SysEx messages after termination byte
jkroll at lavabit.com
Wed Jan 9 18:05:28 CST 2013
On Thu, 10 Jan 2013 00:38:06 +0100
Christian Costa <titan.costa at gmail.com> wrote:
> After a better look the changes seem correct.
> The condition i < lpMidioutHdr->dwBufferLength-1 is not necessary tough.
Without the buffer length check, there would be a buffer overflow when
an application tries to send a SysEx without an F7 byte.
More information about the wine-devel