mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-26 13:01:27 +03:00
e9607db8ac
std: maintain `CStringArray` null-termination even if `Vec::push` panics Fixes rust-lang/rust#155748 by performing the `push` of the new null terminator before overwriting the previous one.