]> git.alsa-project.org Git - alsa-utils.git/commit
alsactl: fix potential buffer overwrite
authorMingjie Shen <shen497@purdue.edu>
Wed, 6 Dec 2023 21:49:26 +0000 (16:49 -0500)
committerJaroslav Kysela <perex@perex.cz>
Fri, 8 Dec 2023 18:56:45 +0000 (19:56 +0100)
commit004d085c675c56f866f008dbf712ee7503de5b27
tree88669cf30f417161ed94e71200800b6360951333
parent8f3d84ba19a45411f08bae13ee4dcd8329aa9438
alsactl: fix potential buffer overwrite

The 'call to sprintf' operation on line 413 requires 21 bytes
but the destination is only 16 bytes.

Fixes: https://github.com/alsa-project/alsa-utils/pull/247
Signed-off-by: Mingjie Shen <shen497@purdue.edu>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
alsactl/alsactl.c