PR 22510
* readelf.c (load_debug_section): Fail if there are no section
headers available.
+2017-11-30 Nick Clifton <nickc@redhat.com>
+
+ PR 22510
+ * readelf.c (load_debug_section): Fail if there are no section
+ headers available.
+
2017-11-29 Nick Clifton <nickc@redhat.com>
PR 22508
Elf_Internal_Shdr * sec;
Filedata * filedata = (Filedata *) data;
+ /* Without section headers we cannot find any sections. */
+ if (filedata->section_headers == NULL)
+ return FALSE;
+
if (filedata->string_table == NULL)
{
Elf_Internal_Shdr * strs;