[libcxx-commits] [libcxx] [libc++] Crash when dereferencing an empty std::optional (PR #116394)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Fri Nov 15 07:13:07 PST 2024


https://github.com/philnik777 requested changes to this pull request.

If you want your program to crash on this kind of UB you should enable a hardening mode. See https://libcxx.llvm.org/Hardening.html for more details.

https://github.com/llvm/llvm-project/pull/116394


More information about the libcxx-commits mailing list