Skip to content
Commit 3d52239b authored by Noah Goldstein's avatar Noah Goldstein Committed by H.J. Lu
Browse files

x86: Fix __wcsncmp_avx2 in strcmp-avx2.S [BZ# 28755]



Fixes [BZ# 28755] for wcsncmp by redirecting length >= 2^56 to
__wcscmp_avx2. For x86_64 this covers the entire address range so any
length larger could not possibly be used to bound `s1` or `s2`.

test-strcmp, test-strncmp, test-wcscmp, and test-wcsncmp all pass.

Signed-off-by: default avatarNoah Goldstein <goldstein.w.n@gmail.com>
(cherry picked from commit ddf0992c)
(cherry picked from commit b50d5b74)
parent d251ad53
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment