Date: Sat, 05 Apr 2025 00:49:07 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 285870] Bug in atexit code in rare specific case + patch to correct it Message-ID: <bug-285870-227-aWg1PTb25Z@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-285870-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285870 --- Comment #5 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=ee9ce1078c596f5719f312feedd616ab0fb41dc9 commit ee9ce1078c596f5719f312feedd616ab0fb41dc9 Author: Kyle Evans <kevans@FreeBSD.org> AuthorDate: 2025-04-05 00:47:54 +0000 Commit: Kyle Evans <kevans@FreeBSD.org> CommitDate: 2025-04-05 00:47:54 +0000 libc: tests: add some tests for __cxa_atexit handling This adds a basic test that __cxa_atexit works, and also adds some tests for __cxa_atexit handlers registered in the middle of __cxa_finalize. PR: 285870 lib/libc/tests/stdlib/Makefile | 2 + lib/libc/tests/stdlib/cxa_atexit_test.c (new) | 132 +++++++++++++++++++++ lib/libc/tests/stdlib/libatexit/Makefile (new) | 11 ++ lib/libc/tests/stdlib/libatexit/libatexit.cc (new) | 67 +++++++++++ 4 files changed, 212 insertions(+) -- You are receiving this mail because: You are on the CC list for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-285870-227-aWg1PTb25Z>
