aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/arc/swapcontext.S
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@redhat.com>2025-03-28 12:35:53 +0000
committerMaciej W. Rozycki <macro@redhat.com>2025-03-28 12:35:53 +0000
commit0a8e7ac95c69499959151f29c65fc112f09d3973 (patch)
treed4bcfc72a18721f44840d30925cc66e35a8b28cf /sysdeps/unix/sysv/linux/arc/swapcontext.S
parent0b390b55085070bfa9598fb42049a32460681308 (diff)
downloadglibc-0a8e7ac95c69499959151f29c65fc112f09d3973.zip
glibc-0a8e7ac95c69499959151f29c65fc112f09d3973.tar.gz
glibc-0a8e7ac95c69499959151f29c65fc112f09d3973.tar.bz2
stdio-common: Reject real data w/o exponent digits in scanf [BZ #12701]
Reject invalid formatted scanf real input data the exponent part of which is comprised of an exponent introducing character, optionally followed by a sign, and with no actual digits following. Such data is a prefix of, but not a matching input sequence and it is required by ISO C to cause a matching failure. Currently a matching success is instead incorrectly produced along with the conversion result according to the input significand read and the exponent of zero, with the significand and the exponent part wholly consumed from input. Correct an invalid `tstscanf.c' test accordingly that expects a matching success for input data provided in the ISO C standard as an example for a matching failure. Enable input data that causes test failures without this fix in place. Reviewed-by: Joseph Myers <josmyers@redhat.com>
Diffstat (limited to 'sysdeps/unix/sysv/linux/arc/swapcontext.S')
0 files changed, 0 insertions, 0 deletions