[Lldb-commits] [Bug 9053] null pointer dereferenced when "file" is given a bogus path

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jan 25 13:32:17 PST 2011


http://llvm.org/bugs/show_bug.cgi?id=9053

Greg Clayton <clayborg at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |clayborg at gmail.com
         Resolution|                            |FIXED

--- Comment #1 from Greg Clayton <clayborg at gmail.com> 2011-01-25 15:32:17 CST ---
I fixed this in a slightly different way. ConstString has two C string
accessors:
const char * ConstString::AsCString(const char *value_if_empty);
const char * ConstString::GetCString(); // Can return NULL

I used the latter with the fix I submitted. 

Committed revision 124231.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the lldb-commits mailing list