diff options
author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2022-10-11 14:57:16 +0100 |
---|---|---|
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2022-10-28 11:16:51 +0100 |
commit | b866018f54ad0670ee9b930a14ae6e8960b9f4bf (patch) | |
tree | 7ea12d46c1f7fcf6fb48b31a697b904accfeaffc /libio/putc_u.c | |
parent | 6a3794ea917558776ba1a66a925f2d5e1dbf0724 (diff) | |
download | glibc-b866018f54ad0670ee9b930a14ae6e8960b9f4bf.tar.gz glibc-b866018f54ad0670ee9b930a14ae6e8960b9f4bf.tar.xz glibc-b866018f54ad0670ee9b930a14ae6e8960b9f4bf.zip |
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>
Diffstat (limited to 'libio/putc_u.c')
0 files changed, 0 insertions, 0 deletions