+2013-11-13 Joseph Myers <joseph@codesourcery.com>
+
+ [BZ #16151]
+ * stdlib/strtod_l.c (round_and_return): Do not consider
+ retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
+ exponent one less than half the least subnormal exponent.
+ * stdlib/test-strtod-round-data: Add more tests.
+ * stdlib/tst-strtod-round.c (tests): Regenerated.
+
2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
[BZ #14143]
15825, 15844, 15847, 15849, 15855, 15856, 15857, 15859, 15867, 15886,
15887, 15890, 15892, 15893, 15895, 15897, 15905, 15909, 15917, 15919,
15921, 15923, 15939, 15948, 15963, 15966, 15985, 15988, 16032, 16034,
- 16036, 16037, 16041, 16071, 16072, 16074, 16078, 16112, 16150, 16153.
+ 16036, 16037, 16041, 16071, 16072, 16074, 16078, 16112, 16150, 16151,
+ 16153.
* CVE-2012-4412 The strcoll implementation caches indices and rules for
large collation sequences to optimize multiple passes. This cache
round_limb = retval[RETURN_LIMB_SIZE - 1];
round_bit = (MANT_DIG - 1) % BITS_PER_MP_LIMB;
- for (i = 0; i < RETURN_LIMB_SIZE; ++i)
+ for (i = 0; i < RETURN_LIMB_SIZE - 1; ++i)
more_bits |= retval[i] != 0;
MPN_ZERO (retval, RETURN_LIMB_SIZE);
}