This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] Avoid null ptr dereference in maint cplus first_component


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.



Attachment: cp-support.c.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]