aboutsummaryrefslogtreecommitdiff
path: root/contrib/kyua/utils/sqlite/transaction.cpp
diff options
context:
space:
mode:
authorShengYi Hung <aokblast@FreeBSD.org>2026-11-05 00:03:01 +0000
committerShengYi Hung <aokblast@FreeBSD.org>2026-11-05 16:01:55 +0000
commit2734bbbcba3cd6ff2bf4382fb6e85b884beb966e (patch)
tree9be632c3180758b08c908da5b0cdb612deb03c3a /contrib/kyua/utils/sqlite/transaction.cpp
parent71937d8e11a6b7fdb3c1b308d5f7c8b30dac5ca7 (diff)
libthr: Create landing pad in thr_once in C++ exceptionHEADmain
In _thr_once, if init_routine fails with exception, the stack allocate __cup will become invalid when unwinder walk back and free the stack of thr_once. This cause cleanup linked list be dangling. In here, we give the cleanup function a landing pad so that we td can correctly point to previous cleanup function. Reviewed by: kib MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D61212
Diffstat (limited to 'contrib/kyua/utils/sqlite/transaction.cpp')
0 files changed, 0 insertions, 0 deletions