about summary refs log tree commit diff
path: root/sysdeps/x86_64/multiarch/ifunc-impl-list.c
diff options
context:
space:
mode:
authorNoah Goldstein <goldstein.w.n@gmail.com>2021-06-09 16:25:32 -0400
committerH.J. Lu <hjl.tools@gmail.com>2022-01-27 16:31:50 -0800
commitfaf303176402201df758bec3d3e69d8c85a46239 (patch)
tree42f2904786e067272cc161ec5c165141ef3342f0 /sysdeps/x86_64/multiarch/ifunc-impl-list.c
parentfc1ed01cbe4555ae724ecfbe0e71d9aed4530f51 (diff)
downloadglibc-faf303176402201df758bec3d3e69d8c85a46239.tar.gz
glibc-faf303176402201df758bec3d3e69d8c85a46239.tar.xz
glibc-faf303176402201df758bec3d3e69d8c85a46239.zip
x86: Fix overflow bug with wmemchr-sse2 and wmemchr-avx2 [BZ #27974]
This commit fixes the bug mentioned in the previous commit.

The previous implementations of wmemchr in these files relied
on n * sizeof(wchar_t) which was not guranteed by the standard.

The new overflow tests added in the previous commit now
pass (As well as all the other tests).

Signed-off-by: Noah Goldstein <goldstein.w.n@gmail.com>
Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
(cherry picked from commit 645a158978f9520e74074e8c14047503be4db0f0)
Diffstat (limited to 'sysdeps/x86_64/multiarch/ifunc-impl-list.c')
0 files changed, 0 insertions, 0 deletions