about summary refs log tree commit diff
path: root/benchtests/cos-inputs
diff options
context:
space:
mode:
authorNoah Goldstein <goldstein.w.n@gmail.com>2021-06-23 01:56:29 -0400
committerNoah Goldstein <goldstein.w.n@gmail.com>2021-06-23 14:13:06 -0400
commita775a7a3eb1e85b54af0b4ee5ff4dcf66772a1fb (patch)
tree966e026527a5b737340f7e5da4ca54da35c75ad5 /benchtests/cos-inputs
parent645a158978f9520e74074e8c14047503be4db0f0 (diff)
downloadglibc-a775a7a3eb1e85b54af0b4ee5ff4dcf66772a1fb.tar.gz
glibc-a775a7a3eb1e85b54af0b4ee5ff4dcf66772a1fb.tar.xz
glibc-a775a7a3eb1e85b54af0b4ee5ff4dcf66772a1fb.zip
x86: Fix overflow bug in wcsnlen-sse4_1 and wcsnlen-avx2 [BZ #27974]
This commit fixes the bug mentioned in the previous commit.

The previous implementations of wmemchr in these files relied
on maxlen * 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>
Diffstat (limited to 'benchtests/cos-inputs')
0 files changed, 0 insertions, 0 deletions