Fix NULL pointer dereference
authorGary Benson <gbenson@redhat.com>
Thu, 9 Feb 2017 15:35:33 +0000 (15:35 +0000)
committerGary Benson <gbenson@redhat.com>
Thu, 9 Feb 2017 15:37:57 +0000 (15:37 +0000)
commitff6fa24786eb2c03c1af95e2559fa3fd0b2f3893
treeab8489895f553017c95f4c1788c6e42b67ef68d2
parent9d5c5dd77bf91cbeb0ddfd1346bddaee549f9fb3
Fix NULL pointer dereference

This commit fixes a segmentation fault on tab completion when
certain debuginfo is installed:

  https://bugzilla.redhat.com/show_bug.cgi?id=1398387

gdb/ChangeLog:

* symtab.c (add_symtab_completions): Prevent NULL pointer
dereference.
gdb/ChangeLog
gdb/symtab.c