[Bug 278701] Certain usage of thread_local and -fPIE results in an obscure message printout
Date: Fri, 03 May 2024 23:24:21 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278701 --- Comment #2 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=b27eb9ce96b838622e125fd969e8dc4914aabe18 commit b27eb9ce96b838622e125fd969e8dc4914aabe18 Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2024-05-03 09:32:01 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2024-05-03 23:23:15 +0000 __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 lib/libc/stdlib/cxa_thread_atexit_impl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- You are receiving this mail because: You are the assignee for the bug.