[Bug stdio/12701] scanf accepts non-matching input

cvs-commit at gcc dot gnu.org sourceware-bugzilla@sourceware.org
Tue Mar 25 10:21:42 GMT 2025


https://sourceware.org/bugzilla/show_bug.cgi?id=12701

--- Comment #34 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Maciej W. Rozycki <macro@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=26df22636d5876352cbd53b8662173e461e1e220

commit 26df22636d5876352cbd53b8662173e461e1e220
Author: Maciej W. Rozycki <macro@redhat.com>
Date:   Tue Mar 25 09:40:20 2025 +0000

    stdio-common: Add scanf float data for IEEE 754 binary32 format

    Add Makefile infrastructure and `float' real input data for targets
    using the IEEE 754 binary32 format.

    Keep input data disabled and referring to BZ #12701 for entries that are
    are currently incorrectly accepted as valid data, such as '0e', '0e+',
    '0x', '0x8p', '0x0p-', etc.

    Reviewed-by: Joseph Myers <josmyers@redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list