This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug breakpoints/20653] New: string_to_explicit_location has some weird code
- From: "tromey at sourceware dot org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 29 Sep 2016 22:02:04 +0000
- Subject: [Bug breakpoints/20653] New: string_to_explicit_location has some weird code
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=20653
Bug ID: 20653
Summary: string_to_explicit_location has some weird code
Product: gdb
Version: unknown
Status: NEW
Severity: normal
Priority: P2
Component: breakpoints
Assignee: unassigned at sourceware dot org
Reporter: tromey at sourceware dot org
Target Milestone: ---
This comes from bug 20613 and http://www.viva64.com/en/b/0430/
string_to_explicit_location compares a char* against '\0':
if (argp == NULL
|| *argp == '\0'
That second comparison should probably be == NULL
--
You are receiving this mail because:
You are on the CC list for the bug.