mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-08 02:08:10 +00:00
After calling libc::fork, the child process tried to access a TLS variable when processing a panic. This caused a memory allocation which is UB in the child. To prevent this from happening, the panic handler will not access the TLS variable in case `panic::always_abort` was called before.