From: Liubov Dmitrieva Date: Wed, 18 Sep 2013 11:02:30 +0000 (+0400) Subject: Buffer overrun detected by Intel MPX in stdlib/strtod_l.c X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90cb32ab6fc7f40d9c16aada2cfc34d9beb0b3e8;p=thirdparty%2Fglibc.git Buffer overrun detected by Intel MPX in stdlib/strtod_l.c --- diff --git a/stdlib/strtod_l.c b/stdlib/strtod_l.c index 8f60653fb0a..90541cd48fa 100644 --- a/stdlib/strtod_l.c +++ b/stdlib/strtod_l.c @@ -1752,7 +1752,7 @@ ____STRTOF_INTERNAL (nptr, endptr, group, loc) got_limb; } - for (i = densize; num[i] == 0 && i >= 0; --i) + for (i = densize; i >= 0 && num[i] == 0; --i) ; return round_and_return (retval, exponent - 1, negative, quot, BITS_PER_MP_LIMB - 1 - used,