glibc/sysdeps
Noah Goldstein 645a158978 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>
2021-06-23 14:13:03 -04:00
..
aarch64 AArch64: Add support for roundeven[f] 2021-06-08 13:33:09 +01:00
alpha nptl: Move pthread_spin_trylock into libc 2021-04-23 17:06:48 +02:00
arc ARC: Update ulps 2021-04-14 09:24:45 -07:00
arm nptl: Remove remaining code from libpthread 2021-05-21 22:35:01 +02:00
csky Reduce the statically linked startup code [BZ #23323] 2021-02-25 12:13:02 +01:00
generic rt: Move generic implementation from sysdeps/pthread to rt 2021-06-22 09:50:45 +02:00
gnu posix: Add glob64 with 64-bit time_t support 2021-06-15 10:42:11 -03:00
hppa nptl: Move pthread_spin_init, Move pthread_spin_unlock into libc 2021-04-23 17:06:44 +02:00
htl rt: Move generic implementation from sysdeps/pthread to rt 2021-06-22 09:50:45 +02:00
hurd
i386 Properly check stack alignment [BZ #27901] 2021-05-24 07:42:12 -07:00
ia64 nptl: Remove remaining code from libpthread 2021-05-21 22:35:01 +02:00
ieee754 configure: Replaced obsolete AC_TRY_COMPILE 2021-06-04 10:16:00 -03:00
m68k m68: Fix build after 9acda61d94 2021-04-06 15:10:31 -03:00
mach Add hidden prototypes for fsync, fdatasync 2021-06-22 09:51:14 +02:00
microblaze Reduce the statically linked startup code [BZ #23323] 2021-02-25 12:13:02 +01:00
mips dlfcn: Cleanups after -ldl is no longer required 2021-06-03 09:11:45 +02:00
nios2 Update Nios II libm-test-ulps. 2021-04-01 19:41:40 +00:00
nptl linux: Only use 64-bit syscall if required for internal futex 2021-06-22 12:09:52 -03:00
posix hurd: Fix build after 52a5fe70a2 2021-06-23 14:14:48 -03:00
powerpc Add build option to disable usage of scv on powerpc 2021-06-10 16:23:25 -03:00
pthread rt: Move generic implementation from sysdeps/pthread to rt 2021-06-22 09:50:45 +02:00
riscv nptl: Remove remaining code from libpthread 2021-05-21 22:35:01 +02:00
s390 iconvdata: Move gconv-modules configuration to gconv-modules.conf 2021-06-09 09:47:16 +05:30
sh nptl: Move pthread_spin_trylock into libc 2021-04-23 17:06:48 +02:00
sparc nptl: Remove remaining code from libpthread 2021-05-21 22:35:01 +02:00
unix linux: Only use 64-bit syscall if required for clock_nanosleep 2021-06-22 12:09:52 -03:00
wordsize-32
wordsize-64
x86 dlfcn: Cleanups after -ldl is no longer required 2021-06-03 09:11:45 +02:00
x86_64 x86: Fix overflow bug with wmemchr-sse2 and wmemchr-avx2 [BZ #27974] 2021-06-23 14:13:03 -04:00