llvm-project
860f0b54 - [lldb][ConstString] Prevent GetString from constructing a std::string with a nullptr (#95175)

Commit
1 year ago
[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`.
Author
Parents
Loading