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 14:42:59 -0800 |
commit | 30b429c2bffb7daf78d93126ff200f75e390fd4a (patch) | |
tree | 539fe26ba532f99ab1d11edc34cd3fb635ebcb4e /nptl_db/thread_dbP.h | |
parent | ca7d6c8d7f792a7832f81cad65a35c6d51f198b6 (diff) | |
download | glibc-30b429c2bffb7daf78d93126ff200f75e390fd4a.tar.gz glibc-30b429c2bffb7daf78d93126ff200f75e390fd4a.tar.xz glibc-30b429c2bffb7daf78d93126ff200f75e390fd4a.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 'nptl_db/thread_dbP.h')
0 files changed, 0 insertions, 0 deletions