diff options
author | Chris Metcalf <cmetcalf@ezchip.com> | 2014-12-22 14:50:26 -0500 |
---|---|---|
committer | Chris Metcalf <cmetcalf@ezchip.com> | 2014-12-22 14:50:26 -0500 |
commit | 0dacd7a3b9401f7eb7160cf79231a4573773c5da (patch) | |
tree | 892983bc4ed9757a26a8c0217671ef6dfea94c0c /ChangeLog | |
parent | 929011700ce09f2bb4f6f650ae95b6eb68145deb (diff) | |
download | glibc-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-- | ChangeLog | 6 |
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 |