diff options
author | Maciej W. Rozycki <macro@redhat.com> | 2025-03-28 12:35:53 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@redhat.com> | 2025-03-28 12:35:53 +0000 |
commit | a26638424ffea604f7ef94d0c6f3940304698442 (patch) | |
tree | 15227c00e317926271b1b00a8a2e9e14a262317e /sysdeps/unix/bsd/sun | |
parent | 47076b3163ce645f791d5c8f80080e9811733347 (diff) | |
download | glibc-a26638424ffea604f7ef94d0c6f3940304698442.zip glibc-a26638424ffea604f7ef94d0c6f3940304698442.tar.gz glibc-a26638424ffea604f7ef94d0c6f3940304698442.tar.bz2 |
stdio-common: Also reject exp char w/o significand in i18n scanf [BZ #13988]
Fix the handling of real 'scanf' input such as "+.e" as per BZ #13988
for the i18n case as well, complementing commit 6ecec3b616ae ("Don't
accept exp char without preceding digits in scanf float parsing"), where
the 'e' character is incorrectly consumed from input. Add a test case
matching stdio-common/bug26.c, with bits from localedata/tst-sscanf.c.
Reviewed-by: Joseph Myers <josmyers@redhat.com>
Diffstat (limited to 'sysdeps/unix/bsd/sun')
0 files changed, 0 insertions, 0 deletions