about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@ezchip.com>2014-12-22 14:50:26 -0500
committerChris Metcalf <cmetcalf@ezchip.com>2014-12-22 14:50:26 -0500
commit0dacd7a3b9401f7eb7160cf79231a4573773c5da (patch)
tree892983bc4ed9757a26a8c0217671ef6dfea94c0c /ChangeLog
parent929011700ce09f2bb4f6f650ae95b6eb68145deb (diff)
downloadglibc-0dacd7a3b9401f7eb7160cf79231a4573773c5da.tar.gz
glibc-0dacd7a3b9401f7eb7160cf79231a4573773c5da.tar.xz
glibc-0dacd7a3b9401f7eb7160cf79231a4573773c5da.zip
tilegx: remove implicit boolean conversion in strstr.
[BZ #17746]
The __builtin_expect() truncated a uint64_t to a 32-bit long
in ILP32 mode, discarding the high 32 bits, and potentially
missing the NUL terminator that we were searching for with SIMD
operations.  Explicitly compare to zero to fix the problem.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4ad8b90161..77abebf478 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
+
+	[BZ #17746]
+	* sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
+	conversion.
+
 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
 
 	* sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set