mirror of git://sourceware.org/git/glibc.git
Fix buffer overrun in strtod_l
This commit is contained in:
parent
7849ff938c
commit
d84f25c7d8
|
|
@ -1,3 +1,7 @@
|
||||||
|
2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
|
||||||
|
|
||||||
|
* stdlib/strtod_l.c: Fix buffer overrun.
|
||||||
|
|
||||||
2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
|
2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
|
||||||
|
|
||||||
* benchtests/Makefile (bench): Add sincos.
|
* benchtests/Makefile (bench): Add sincos.
|
||||||
|
|
|
||||||
|
|
@ -1752,7 +1752,7 @@ ____STRTOF_INTERNAL (nptr, endptr, group, loc)
|
||||||
got_limb;
|
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,
|
return round_and_return (retval, exponent - 1, negative,
|
||||||
quot, BITS_PER_MP_LIMB - 1 - used,
|
quot, BITS_PER_MP_LIMB - 1 - used,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue