glibc/sysdeps/arm/armv7/multiarch
Wilco Dijkstra fdaf78656f Add bounds check to __libc_ifunc_impl_list
Add a proper bounds check to __libc_ifunc_impl_list. This makes MAX_IFUNC
redundant and fixes several targets that will write outside the array.
To avoid unnecessary large diffs, pass the maximum in the argument 'i' to
IFUNC_IMPL_ADD - 'max' can be used in new ifunc definitions and existing
ones can be updated if desired.

Passes buildmanyglibc.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2022-06-10 17:13:29 +01:00
..
aeabi_memcpy.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
ifunc-impl-list.c Add bounds check to __libc_ifunc_impl_list 2022-06-10 17:13:29 +01:00
ifunc-memchr.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
ifunc-memcpy.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
Makefile arm: Implement memchr ifunc selection in C 2017-11-06 17:37:57 -02:00
memchr_neon.S Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
memchr_noneon.S arm: Implement memchr ifunc selection in C 2017-11-06 17:37:57 -02:00
memchr.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
memcpy_arm.S arm: Implement memcpy ifunc selection in C 2017-11-06 17:37:57 -02:00
memcpy_impl.S Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
memcpy_neon.S arm: Implement memcpy ifunc selection in C 2017-11-06 17:37:57 -02:00
memcpy_vfp.S arm: Implement memcpy ifunc selection in C 2017-11-06 17:37:57 -02:00
memcpy.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
rtld-memchr.S arm: Implement memchr ifunc selection in C 2017-11-06 17:37:57 -02:00
rtld-memcpy.S arm: Implement memcpy ifunc selection in C 2017-11-06 17:37:57 -02:00