]> git.alsa-project.org Git - alsa-utils.git/commit
aseqdump: Avoid OOB access with broken SysEx UMP packets
authorTakashi Iwai <tiwai@suse.de>
Wed, 24 Jul 2024 12:05:55 +0000 (14:05 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 24 Jul 2024 12:05:55 +0000 (14:05 +0200)
commit02b0c3af56bd6a5f1eed7c064a768dd6a7fb542a
treec1e0fea831a8859fb5866c4691ba674ffef6f601
parentdf736ad67ac637d339b2442402d2eacb360231fa
aseqdump: Avoid OOB access with broken SysEx UMP packets

UMP SysEx messages have length field to specify the contained data
bytes, but they can be over the actual packet size.  Add the proper
size limit checks for avoiding the access overflow.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
seq/aseqdump/aseqdump.c