glibc/sysdeps/ieee754/dbl-64
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
..
Makefile stdio-common: Add scanf double data for IEEE 754 binary64 format 2025-03-25 09:40:20 +00:00
asincos.tbl Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
atnat.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
atnat2.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
branred.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
branred.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
dbl2mpn.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
dla.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
e_acos.c
e_acosh.c
e_asin.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
e_atan2.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
e_atanh.c x86_64: Add atanh with FMA 2025-03-13 14:30:47 -07:00
e_cosh.c
e_exp.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
e_exp2.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
e_exp10.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
e_exp_data.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
e_fmod.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
e_gamma_r.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
e_hypot.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
e_ilogb.c
e_j0.c
e_j1.c
e_jn.c
e_lgamma_r.c
e_log.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
e_log2.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
e_log2_data.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
e_log10.c
e_log_data.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
e_pow.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
e_pow_log_data.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
e_remainder.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
e_sinh.c x86_64: Add sinh with FMA 2025-03-13 10:55:25 -07:00
e_sqrt.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
gamma_product.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
gamma_productf.c
k_rem_pio2.c
k_tan.c
lgamma_neg.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
math_config.h math: Improve layout of exp/exp10 data 2025-02-13 18:16:54 +00:00
math_err.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
mpn2dbl.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
mydefs.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
powtwo.tbl Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
root.tbl Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_asinh.c
s_atan.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_cbrt.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_ceil.c
s_copysign.c
s_cos.c
s_erf.c
s_erfc.c
s_expm1.c
s_f32xaddf64.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_f32xdivf64.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_f32xfmaf64.c
s_f32xmulf64.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_f32xsqrtf64.c
s_f32xsubf64.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_fabs.c
s_fadd.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_fdiv.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_ffma.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_finite.c
s_floor.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_fma.c math: Add optimization barrier to ensure a1 + u.d is not reused [BZ #30664] 2025-02-25 15:57:53 -05:00
s_fmaf.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_fmul.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_fpclassify.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_frexp.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_fromfp.c
s_fromfp_main.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_fromfpx.c
s_fsqrt.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_fsub.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_getpayload.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_isinf.c
s_isnan.c
s_issignaling.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_llrint.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_llround.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_log1p.c
s_logb.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_lrint.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_lround.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_modf.c
s_nearbyint.c
s_nexttoward.c
s_nextup.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_remquo.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_rint.c
s_round.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_roundeven.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_scalbln.c
s_scalbn.c
s_setpayload.c
s_setpayload_main.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_setpayloadsig.c
s_signbit.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_sin.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_sincos.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_tan.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_tanh.c x86_64: Add tanh with FMA 2025-03-13 06:20:32 -07:00
s_totalorder.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_totalordermag.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_trunc.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_ufromfp.c
s_ufromfpx.c
sincostab.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tst-scanf-format-double-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-double-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-double-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-double-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-double-f.input stdio-common: Add scanf double data for IEEE 754 binary64 format 2025-03-25 09:40:20 +00:00
tst-scanf-format-double-ff.input stdio-common: Add scanf double data for IEEE 754 binary64 format 2025-03-25 09:40:20 +00:00
tst-scanf-format-double-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-double-gg.input stdio-common: Reject real data w/o exponent digits in scanf [BZ #12701] 2025-03-28 12:35:53 +00:00
uasncs.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
uatan.tbl Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
urem.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
usncs.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
utan.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
utan.tbl Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
w_exp.c
w_exp2.c
w_exp10.c
w_fmod.c
w_hypot.c
w_log.c
w_log2.c
w_pow.c
x2y2m1.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
x2y2m1f.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00