[patch] Avoid null ptr dereference in maint cplus first_component
Aleksandar Ristovski
ARistovski@qnx.com
Wed Mar 19 19:13:00 GMT 2008
Hello,
A trivial patch to avoid segemtation fault when no argument is supplied to
'maint cplus first_component' command.
Thanks,
---
Aleksandar Ristovski
QNX Software Systems
2008-03-19 Aleksandar Ristovski <aristovski@qnx.com>
* cp-support.c (first_component_command): Return if no arguments.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cp-support.c.diff
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20080319/3c445baa/attachment.ksh>
More information about the Gdb-patches
mailing list