diff options
author | Noah Goldstein <goldstein.w.n@gmail.com> | 2021-06-09 16:25:32 -0400 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2022-01-27 16:31:50 -0800 |
commit | faf303176402201df758bec3d3e69d8c85a46239 (patch) | |
tree | 42f2904786e067272cc161ec5c165141ef3342f0 /sysdeps/x86_64/multiarch/ifunc-impl-list.c | |
parent | fc1ed01cbe4555ae724ecfbe0e71d9aed4530f51 (diff) | |
download | glibc-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