[ALSA] seq_midi_event: fix parsing of F9/FD bytes
authorClemens Ladisch <clemens@ladisch.de>
Fri, 10 Aug 2007 07:41:07 +0000 (09:41 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 16 Oct 2007 13:58:38 +0000 (15:58 +0200)
commit0e75182cf34ab7f7f1d88c1231fcc04780a7dc7d
tree6d5d27292e10d202ca3ba69e8a4d1ae70a2dd723
parentbf8c1382c0339e95e89394f59a149610dd2d828f
[ALSA] seq_midi_event: fix parsing of F9/FD bytes

Check for a valid event type when encoding a system real-time message to
prevent the bytes F9 or FD resulting in an empty sequencer message.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/core/seq/seq_midi_event.c