[Lldb-commits] Patch: Add additional nullptr check to SBValue::CreateValueFromData

Sebastian Theophil via lldb-commits lldb-commits at lists.llvm.org
Fri May 20 02:35:47 PDT 2016

SBValue::CreateValueFromData didn’t check if the SBType argument was in fact a nullptr. This leads to a crash when dereferencing it of course. I followed the naming used in SBValue CreateValueFromAddress above.


Dr. Sebastian Theophil | stheophil at think-cell.com
Senior Software Engineer

We are looking for C++ Developers: http://www.think-cell.com/career

think-cell Software GmbH | Chausseestr. 8/E | 10115 Berlin | Germany
http://www.think-cell.com | phone +49 30 666473-10 | US phone +1 800 891 8091

Amtsgericht Berlin-Charlottenburg, HRB 85229 | European Union VAT Id DE813474306
Directors: Dr. Markus Hannebauer, Dr. Arno Schödl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SBValue.cpp.patch
Type: application/octet-stream
Size: 1140 bytes
Desc: SBValue.cpp.patch
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160520/5424a42f/attachment.obj>

More information about the lldb-commits mailing list