Files
clang-p2996/lldb/unittests/Utility/ConstStringTest.cpp
Michael Buch 860f0b542a [lldb][ConstString] Prevent GetString from constructing a std::string with a nullptr (#95175)
This patch prevents passing a `nullptr` to the `std::string` constructor
in `GetString`. This prevents UB arising from calling `GetString` on a
default-constructed `ConstString`.
2024-06-12 09:34:12 +01:00

4.4 KiB