]> git.alsa-project.org Git - alsa-lib.git/commit
pcm: cap route plugin ttable channel dimensions at 1024
authorHarsh Raj Singhania <raj.harshraut@gmail.com>
Wed, 30 Sep 2026 18:58:37 +0000 (00:28 +0530)
committerTakashi Iwai <tiwai@suse.de>
Thu, 15 Oct 2026 13:46:19 +0000 (15:46 +0200)
commit807e4ded9511e7e3cd17b915ea3cda1faf6611e6
treee5e3a8eb906e6f90f88f034681e7ee621b6ff538
parentf8253a68baf9a5f57cdff1cd178920d13e5beb2b
pcm: cap route plugin ttable channel dimensions at 1024

csize/ssize grew from config-supplied channel indices with no upper
bound before malloc(csize * ssize * sizeof(entry)). Cap both at 1024,
consistent with other PCM plugins.

[ fixed coding style -- tiwai ]

Closes: https://github.com/alsa-project/alsa-lib/pull/527
Signed-off-by: Harsh Raj Singhania <raj.harshraut@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/pcm/pcm_route.c