aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorBernd Edlinger <bernd.edlinger@hotmail.de>2017-12-19 18:41:01 +0000
committerJoseph Myers <joseph@codesourcery.com>2017-12-19 18:41:01 +0000
commit648615e13f8d7b638cb911926b8bb70804217f15 (patch)
treef2c1e2e3d031d0f4e72b982950ee5a6b9223e5a9 /ChangeLog
parentf1e005022ebd246e1541386cd2f3286f008d2d98 (diff)
downloadglibc-648615e13f8d7b638cb911926b8bb70804217f15.zip
glibc-648615e13f8d7b638cb911926b8bb70804217f15.tar.gz
glibc-648615e13f8d7b638cb911926b8bb70804217f15.tar.bz2
Avoid signed shift overflow in pow (bug 21309).
As noted in bug 21309, dbl-64/e_pow.c contains signed int shifts that, although the shift count is in the range [0, 31], shift bits into and beyond the sign bit and so are undefined in ISO C. Although this is defined in GNU C, this patch from the bug cleans up the code to avoid those shifts. Tested for x86_64. [BZ #21309] * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n unsigned.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4f836e3..d194a73 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
+
+ [BZ #21309]
+ * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
+ unsigned.
+
2017-12-19 Joseph Myers <joseph@codesourcery.com>
Revert: