]> git.alsa-project.org Git - alsa-lib.git/commit
seq: Add overflow check in snd_seq_ev_set_ump_data()
authorTakashi Iwai <tiwai@suse.de>
Thu, 24 Aug 2023 17:24:03 +0000 (19:24 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 24 Aug 2023 17:24:03 +0000 (19:24 +0200)
commit91bbe55894458a98a6f9f1d8aad6b237c7d22f3f
tree88600cb16df1c09d7d0cc92cf12385de679f519b
parentec20272797cef39772cdbfd7ae40e213c93893ff
seq: Add overflow check in snd_seq_ev_set_ump_data()

It's better to add a sanity check than sorry for breaking.
Now the function return -EINVAL.

Closes: https://github.com/alsa-project/alsa-lib/issues/346
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/seqmid.h