DavidSpickett wrote:

> We've been seen (very sporadic) lifetime issues around this area.

Could the ConstString not be null terminated and sometimes the data after it 
happens to be interpretable as a string and sometimes it isn't?

Thinking about what the conclusion is if you don't see anymore crashes after 
this change. The explicit length in the StringRef might be preventing an over 
reading strlen.

https://github.com/llvm/llvm-project/pull/161499
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to