]> git.ipfire.org Git - thirdparty/cups.git/commit
Fix heap overflow in array.c 1177/head
authorKirill Furman <kir.furman@gmail.com>
Mon, 24 Feb 2025 19:31:45 +0000 (22:31 +0300)
committerKirill Furman <kir.furman@gmail.com>
Mon, 24 Feb 2025 19:31:45 +0000 (22:31 +0300)
commit46ff2867011d9d70dbedf70a6b0d51a9f83939a8
treeb790e072823295d10d26fdb4e4463569cd3bc02a
parent8d0cb403d5f04ee904677dca811c8ac9c5ad32cb
Fix heap overflow in array.c
When delim variable has \0 value,
strchr() func switch end var to the end of string,
set it to \0 and shift to next byte, which causes
heap overflow when new cycle runs
Fixes #1176
Signed-off by Kirill Furman <kir.furman@gmail.com>
cups/array.c