1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-11-26 00:03:11 +03:00
Files
glibc/stdio-common/scanf13.c
Szabolcs Nagy b866018f54 Fix missing NUL terminator in stdio-common/scanf13 test
sscanf is only defined on nul terminated string input, but '\0' was
missing in this test which caused _IO_str_init_static_internal to
read OOB on the stack when computing the bounds of the string.

Reviewed-by: Florian Weimer <fweimer@redhat.com>
2022-10-28 11:16:51 +01:00

4.0 KiB