[Lldb-commits] [lldb] [lldb][API] Fix SBEnvironment crash when Set is called with a nullptr. (PR #218906)

Ebuka Ezike via lldb-commits lldb-commits at lists.llvm.org
Wed Aug 26 06:23:04 PDT 2026


da-viper wrote:

> This change looks fine but I wonder whether we should discard the entry when the value is null rather than setting an empty string.

Updated. It seems this is a reoccurrence in the API that `const char *` gets converted to `std::string` without a check or stringRef conversion. 

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


More information about the lldb-commits mailing list