diff options
author | Nick Clifton <nickc@redhat.com> | 2017-11-27 11:05:39 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2017-11-27 11:05:39 +0000 |
commit | 4dff97b2ce94bbb9c0c16e0e4129060b9a894f13 (patch) | |
tree | 55eeffd408e148d7cebbee4f7074db7b831b8df3 /opcodes/s390-opc.c | |
parent | e3d40582166056dd1dfeef2a06ba8f5897b673ee (diff) | |
download | gdb-4dff97b2ce94bbb9c0c16e0e4129060b9a894f13.zip gdb-4dff97b2ce94bbb9c0c16e0e4129060b9a894f13.tar.gz gdb-4dff97b2ce94bbb9c0c16e0e4129060b9a894f13.tar.bz2 |
Fix a seg-fault when displaying notes from a prorgam segment. Check for a NULL string section before attempting compute the name of a separate debug info file.
PR 22490
* readelf.c (dump_section_as_bytes): Check for a NULL string
section pointer.
(process_notes_at): Compute the alignment to use if displaying
notes from a segment.
Diffstat (limited to 'opcodes/s390-opc.c')
0 files changed, 0 insertions, 0 deletions