mirror of git://sourceware.org/git/glibc.git
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> |
||
|---|---|---|
| .. | ||
| iconv | ||
| 8bit-generic.c | ||
| Makefile | ||
| gconv_simple.c | ||
| gen-8bit.sh | ||
| ifunc-impl-list.c | ||
| ifunc-resolve.h | ||
| utf8-utf16-z9.c | ||
| utf8-utf32-z9.c | ||
| utf16-utf32-z9.c | ||