aboutsummaryrefslogtreecommitdiff
path: root/support/blob_repeat.c
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@redhat.com>2025-08-23 01:02:10 +0100
committerMaciej W. Rozycki <macro@redhat.com>2025-08-23 01:02:46 +0100
commit27aa1fb73585450cfda1a932e487656a6227329d (patch)
treeecedd69788a0835ce5991cbd94f9d4fa3f15a542 /support/blob_repeat.c
parent67d2c9e3b71314c667feca730f9eefc47bcb8681 (diff)
downloadglibc-27aa1fb73585450cfda1a932e487656a6227329d.zip
glibc-27aa1fb73585450cfda1a932e487656a6227329d.tar.gz
glibc-27aa1fb73585450cfda1a932e487656a6227329d.tar.bz2
stdio-common: Fix bad NaN crash in scanf input specifier tests [BZ #32857]
Fix a null pointer dereference causing a crash in 'read_real' when the terminating null character is written for use with the subsequent call to 'nan' for invalid NaN reference input, such as: %a:nan:1:3:nanny: by moving all the 'n-char-sequence' handling under the check for the opening parenthesis. No test case added as it's a test case issue in the first place. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'support/blob_repeat.c')
0 files changed, 0 insertions, 0 deletions