fix data race in at_quick_exit
authorRich Felker <dalias@aerifal.cx>
Thu, 14 Dec 2017 23:54:54 +0000 (18:54 -0500)
committerRich Felker <dalias@aerifal.cx>
Thu, 14 Dec 2017 23:54:54 +0000 (18:54 -0500)
commit64303156832bc555d11c181168db1e7834ac7069
treed81f3bf82ad2a109c5439c820b7f267d69169d9d
parent01957bed1e88b77f8271b6157c83c0d7f6be302c
fix data race in at_quick_exit

aside from theoretical arbitrary results due to UB, this could
practically cause unbounded overflow of static array if hit, but
hitting it depends on having more than 32 calls to at_quick_exit and
having them sufficiently often.
src/exit/at_quick_exit.c