[Lldb-commits] [lldb] r184877 - Fix undefined behaviour in data formatter test -- ensure char* null-terminated

Tim Northover tnorthover at apple.com
Tue Jun 25 14:15:11 PDT 2013


> Fix undefined behaviour in data formatter test -- ensure char*
> null-terminated so LLDB does not read off the end of the array.

Isn't that a real problem in the formatter? I suppose it's very difficult to 
decide what to do since "char *" usually is a string. But still, the original 
C++ wasn't undefined (at least in that aspect).

Tim.



More information about the lldb-commits mailing list