aboutsummaryrefslogtreecommitdiff
path: root/manual/examples/filesrv.c
diff options
context:
space:
mode:
authorNoah Goldstein <goldstein.w.n@gmail.com>2021-06-09 16:25:32 -0400
committerH.J. Lu <hjl.tools@gmail.com>2022-01-27 15:56:57 -0800
commitd436d8b7adc149fe1beca33845c87bfbebec5129 (patch)
treef911423fe0f94fd17f5e79eff9b975694ddd0962 /manual/examples/filesrv.c
parent1ad51a184048d91327fee98d55f86c2ae4a56c22 (diff)
downloadglibc-d436d8b7adc149fe1beca33845c87bfbebec5129.zip
glibc-d436d8b7adc149fe1beca33845c87bfbebec5129.tar.gz
glibc-d436d8b7adc149fe1beca33845c87bfbebec5129.tar.bz2
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 'manual/examples/filesrv.c')
0 files changed, 0 insertions, 0 deletions