HardenedBSD/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
_Exit.c
a64l.3
a64l.c
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
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
bsearch_b.c
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
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
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
hcreate.3
hcreate.c
hdestroy_r.c
heapsort_b.c
heapsort.c lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
hsearch_r.c
hsearch.h
imaxabs.3
imaxabs.c
imaxdiv.3
imaxdiv.c libc: Remove support for pre-C99 C standards 2024-04-12 12:05:09 -07:00
insque.3
insque.c
l64a.c
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
llabs.c
lldiv.3
lldiv.c libc: Remove support for pre-C99 C standards 2024-04-12 12:05:09 -07:00
lsearch.3
lsearch.c
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
ptsname.3
ptsname.c lib: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
qsort_r_compat.c
qsort_r.c
qsort_s.c
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
quick_exit.c
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
reallocarray.3
reallocarray.c
reallocf.3 lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
reallocf.c
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
set_constraint_handler_s.3
set_constraint_handler_s.c
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
strtoll.c lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
strtonum.3
strtonum.c
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
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
tfind.c
tsearch_path.h
tsearch.3
tsearch.c
twalk.c