about summary refs log tree commit diff
path: root/sysdeps/posix/pwrite.c
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 /sysdeps/posix/pwrite.c
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 'sysdeps/posix/pwrite.c')
0 files changed, 0 insertions, 0 deletions