1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-07 06:43:00 +03:00
Files
glibc/sysdeps/wordsize-64
Maciej W. Rozycki e78cb4f6bd stdio-common: Reject integer prefixes in scanf [BZ #12701]
Reject invalid formatted scanf integer input data that is comprised of a
binary or hexadecimal prefix, optionally preceded 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 of zero, with the prefix wholly consumed from
input.

Enable input data that causes test failures without this fix in place.

Reviewed-by: Joseph Myers <josmyers@redhat.com>
2025-03-28 12:35:53 +00:00
..
2023-02-16 23:02:40 +00:00
2023-02-16 23:02:40 +00:00
2023-02-16 23:02:40 +00:00
2023-02-16 23:02:40 +00:00
2023-02-16 23:02:40 +00:00
2023-02-16 23:02:40 +00:00