freebsd-src/lib/libc/stdlib
Konstantin Belousov b27eb9ce96 __cxa_thread_call_dtors(3): fix dtor pointer validity check
When checking for the destructor pointer belonging to some still
loaded dso, do not limit the possible dso to the one instantiated the
destructor. For instance, dso could set up the dtr pointer to a function
from libcxx.

PR:	278701
Reported by:	vd
Reviewed by:	dim, emaste, markj
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D45074
2024-05-04 02:23:15 +03:00
..
malloc libc: Remove empty comments in Symbol.map 2023-11-15 17:51:03 +00:00
_Exit.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
a64l.3 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
a64l.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
abort.3 lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
abort.c lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
abs.3 lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
abs.c lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
alloca.3 lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
at_quick_exit.3 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
atexit.3 lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
atexit.c lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
atexit.h lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
atof.3 lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
atof.c lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
atoi.3 lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
atoi.c lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
atol.3 lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
atol.c lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
atoll.c libc: Purge unneeded cdefs.h 2023-11-01 16:44:30 -06:00
bsearch_b.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
bsearch.3 lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
bsearch.c bsearch_b: fix compilation with gcc 2024-03-06 19:46:12 +00:00
cxa_thread_atexit_impl.c __cxa_thread_call_dtors(3): fix dtor pointer validity check 2024-05-04 02:23:15 +03:00
cxa_thread_atexit.c libc: Purge unneeded cdefs.h 2023-11-01 16:44:30 -06:00
div.3 lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
div.c libc: Remove support for pre-C99 C standards 2024-04-12 12:05:09 -07:00
exit.3 exit.3: add the comma after an empty space 2024-04-09 21:38:01 -06:00
exit.c lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
getenv.3 lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
getenv.c libc: Purge unneeded cdefs.h 2023-11-01 16:44:30 -06:00
getopt_long.3 lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
getopt_long.c lib: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
getopt.3 lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
getopt.c lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
getsubopt.3 lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
getsubopt.c lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
hcreate_r.c libc: Purge unneeded cdefs.h 2023-11-01 16:44:30 -06:00
hcreate.3 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
hcreate.c libc: Purge unneeded cdefs.h 2023-11-01 16:44:30 -06:00
hdestroy_r.c libc: Purge unneeded cdefs.h 2023-11-01 16:44:30 -06:00
heapsort_b.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
heapsort.c lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
hsearch_r.c libc: Purge unneeded cdefs.h 2023-11-01 16:44:30 -06:00
hsearch.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
imaxabs.3 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
imaxabs.c libc: Purge unneeded cdefs.h 2023-11-01 16:44:30 -06:00
imaxdiv.3 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
imaxdiv.c libc: Remove support for pre-C99 C standards 2024-04-12 12:05:09 -07:00
insque.3 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
insque.c libc: Purge unneeded cdefs.h 2023-11-01 16:44:30 -06:00
l64a.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
labs.3 lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
labs.c lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
ldiv.3 lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
ldiv.c libc: Remove support for pre-C99 C standards 2024-04-12 12:05:09 -07:00
llabs.3 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
llabs.c libc: Purge unneeded cdefs.h 2023-11-01 16:44:30 -06:00
lldiv.3 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
lldiv.c libc: Remove support for pre-C99 C standards 2024-04-12 12:05:09 -07:00
lsearch.3 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
lsearch.c libc: Purge unneeded cdefs.h 2023-11-01 16:44:30 -06:00
Makefile.inc libc: actually build bsearch_b 2024-03-05 01:01:56 +00:00
memory.3 lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
merge.c lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
mergesort_b.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
ptsname.3 ptsname.3: accommodate upcoming POSIX Issue 8 ptsname_r 2023-10-13 22:10:21 -04:00
ptsname.c lib: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
qsort_r_compat.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
qsort_r.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
qsort_s.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
qsort.3 lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
qsort.c lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
quick_exit.3 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
quick_exit.c libc: Rewrite quick_exit() and at_quick_exit() using C11 atomics. 2023-09-26 22:07:10 +02:00
radixsort.3 lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
radixsort.c lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
rand.3 lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
rand.c lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
random.3 lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
random.c lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
random.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
reallocarray.3 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
reallocarray.c libc: Purge unneeded cdefs.h 2023-11-01 16:44:30 -06:00
reallocf.3 lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
reallocf.c libc: Purge unneeded cdefs.h 2023-11-01 16:44:30 -06:00
realpath.3 lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
realpath.c lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
remque.c libc: Purge unneeded cdefs.h 2023-11-01 16:44:30 -06:00
set_constraint_handler_s.3 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
set_constraint_handler_s.c libc: Purge unneeded cdefs.h 2023-11-01 16:44:30 -06:00
strfmon.3 strfmon.3: Cleanup example code 2023-12-09 03:06:13 +02:00
strfmon.c strfmon.c: Use the restrict keyword directly 2023-12-10 23:28:25 +02:00
strtod.3 lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
strtoimax.c lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
strtol.3 lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
strtol.c lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
strtold.c libc: Purge unneeded cdefs.h 2023-11-01 16:44:30 -06:00
strtoll.c lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
strtonum.3 Remove $FreeBSD$: one-line nroff pattern 2023-08-16 11:55:15 -06:00
strtonum.c libc: Purge unneeded cdefs.h 2023-11-01 16:44:30 -06:00
strtoq.c lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
strtoul.3 lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
strtoul.c lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
strtoull.c lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
strtoumax.c lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
strtouq.c lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
Symbol.map libc: Remove empty comments in Symbol.map 2023-11-15 17:51:03 +00:00
system.3 system(3): fix typo santized -> sanitized 2024-01-12 11:29:22 -07:00
system.c lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
tdelete.c libc: Purge unneeded cdefs.h 2023-11-01 16:44:30 -06:00
tfind.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
tsearch_path.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
tsearch.3 Remove $FreeBSD$: one-line nroff pattern 2023-08-16 11:55:15 -06:00
tsearch.c libc: Purge unneeded cdefs.h 2023-11-01 16:44:30 -06:00
twalk.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00