Date: Thu, 17 Apr 2025 02:23:54 +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-msyluWB8in@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 #9 from commit-hook@FreeBSD.org --- A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=cc7bff26328d81268a8fba620670428ea0867d81 commit cc7bff26328d81268a8fba620670428ea0867d81 Author: Kyle Evans <kevans@FreeBSD.org> AuthorDate: 2025-04-05 00:47:54 +0000 Commit: Kyle Evans <kevans@FreeBSD.org> CommitDate: 2025-04-17 01:02:43 +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 (cherry picked from commit ee9ce1078c596f5719f312feedd616ab0fb41dc9) 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-msyluWB8in>
