diff options
| author | Noah Goldstein <goldstein.w.n@gmail.com> | 2022-01-09 16:02:28 -0600 |
|---|---|---|
| committer | H.J. Lu <hjl.tools@gmail.com> | 2022-01-26 14:04:01 -0800 |
| commit | 08beb3a3f4f46e306fffe184a08c5664bf0e13d6 (patch) | |
| tree | c72d1d250f7cd51d814862c21d05e82c9c58e675 /scripts/cpp | |
| parent | b50d5b746cc0af5ad52164dcb0d3628f08b05a0d (diff) | |
| download | glibc-08beb3a3f4f46e306fffe184a08c5664bf0e13d6.tar.xz glibc-08beb3a3f4f46e306fffe184a08c5664bf0e13d6.zip | |
x86: Fix __wcsncmp_evex in strcmp-evex.S [BZ# 28755]
Fixes [BZ# 28755] for wcsncmp by redirecting length >= 2^56 to
__wcscmp_evex. 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: Noah Goldstein <goldstein.w.n@gmail.com>
(cherry picked from commit 7e08db3359c86c94918feb33a1182cd0ff3bb10b)
Diffstat (limited to 'scripts/cpp')
0 files changed, 0 insertions, 0 deletions
