glibc/sysdeps/ieee754/ldbl-96
Maciej W. Rozycki 0a8e7ac95c 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>
2025-03-28 12:35:53 +00:00
..
bits Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
include/bits
Makeconfig add workload traces for cbrtl 2021-05-10 18:45:34 +02:00
Makefile stdio-common: Add scanf long double data for Intel/Motorola 80-bit format 2025-03-28 12:35:52 +00:00
e_acoshl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_asinl.c
e_atanhl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_coshl.c
e_gammal_r.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
e_hypotl.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
e_j0l.c
e_j1l.c
e_jnl.c
e_lgammal_r.c Fix misspellings in sysdeps/ -- BZ 25337 2023-05-30 23:02:29 +00:00
e_rem_pio2l.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
e_sinhl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
gamma_product.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
gamma_productl.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
k_cosl.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
k_sinl.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
k_tanl.c
ldbl2mpn.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
lgamma_negl.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
lgamma_product.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
lgamma_productl.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
math-nan-payload-ldouble.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
math_ldbl.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
mpn2ldbl.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
nan-pseudo-number.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
printf_fphex.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_asinhl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_cbrtl.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_copysignl.c math: Use builtin for ldbl-96 copysign 2022-04-07 14:54:14 -03:00
s_cosl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_daddl.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_ddivl.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_dfmal.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_dmull.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_dsqrtl.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_dsubl.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_erfcl.c math: Split s_erfF in erff and erfc 2024-11-22 10:52:26 -03:00
s_erfl.c
s_fabsl.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_faddl.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_fdivl.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_ffmal.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_fma.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_fmal.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_fmull.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_frexpl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_fromfpl.c
s_fromfpl_main.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_fromfpxl.c
s_fsqrtl.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_fsubl.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_getpayloadl.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_iscanonicall.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_issignalingl.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_llrintl.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_llroundl.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_lrintl.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_lroundl.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_modfl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_nexttoward.c
s_nexttowardf.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_nextupl.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_remquol.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_roundevenl.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_roundl.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_scalblnl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_setpayloadl.c
s_setpayloadl_main.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_setpayloadsigl.c
s_signbitl.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_sincosl.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_sinl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_tanhl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_tanl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_totalorderl.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_totalordermagl.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_ufromfpl.c
s_ufromfpxl.c
strtold_l.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
t_sincosl.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
test-canonical-ldbl-96.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
test-sinl-pseudo.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
test-totalorderl-ldbl-96.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tst-scanf-format-ldouble-a.input stdio-common: Reject real data w/o exponent digits in scanf [BZ #12701] 2025-03-28 12:35:53 +00:00
tst-scanf-format-ldouble-aa.input stdio-common: Reject real data w/o exponent digits in scanf [BZ #12701] 2025-03-28 12:35:53 +00:00
tst-scanf-format-ldouble-e.input stdio-common: Reject real data w/o exponent digits in scanf [BZ #12701] 2025-03-28 12:35:53 +00:00
tst-scanf-format-ldouble-ee.input stdio-common: Reject real data w/o exponent digits in scanf [BZ #12701] 2025-03-28 12:35:53 +00:00
tst-scanf-format-ldouble-f.input stdio-common: Add scanf long double data for Intel/Motorola 80-bit format 2025-03-28 12:35:52 +00:00
tst-scanf-format-ldouble-ff.input stdio-common: Add scanf long double data for Intel/Motorola 80-bit format 2025-03-28 12:35:52 +00:00
tst-scanf-format-ldouble-g.input stdio-common: Reject real data w/o exponent digits in scanf [BZ #12701] 2025-03-28 12:35:53 +00:00
tst-scanf-format-ldouble-gg.input stdio-common: Reject real data w/o exponent digits in scanf [BZ #12701] 2025-03-28 12:35:53 +00:00
tst-scanf-format-skeleton-ldouble.c stdio-common: Add scanf long double data for Intel/Motorola 80-bit format 2025-03-28 12:35:52 +00:00
x2y2m1.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
x2y2m1l.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00