[Lldb-commits] [Bug 9053] New: null pointer dereferenced when "file" is given a bogus path
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Jan 25 12:49:42 PST 2011
http://llvm.org/bugs/show_bug.cgi?id=9053
Summary: null pointer dereferenced when "file" is given a bogus
path
Product: lldb
Version: unspecified
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
AssignedTo: lldb-commits at cs.uiuc.edu
ReportedBy: ken.ryall at nokia.com
Created an attachment (id=6050)
--> (http://llvm.org/bugs/attachment.cgi?id=6050)
Checks to see if the string is empty before using it
I accidentally used lldb's "file" command with a bogus path.
Instead of:
file /Users/kenryall/Source/HW_XCode/build/Debug/HW_XCode
I gave it:
file file://localhost/Users/kenryall/Source/HW_XCode/build/Debug/HW_XCode
This caused a null pointer to be used in FileSpec::ResolveExecutableLocation.
The attached patch fixes this problem.
--
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