Commit: Fix seg-fault disassembling EFI files

Nick Clifton nickc@redhat.com
Wed Mar 6 09:46:00 GMT 2019


Hi Guys,

  I am checking in the attached patch to fix an access through a NULL
  pointer triggered by attempting to disassemble an EFI file with source
  included.  This was reported on the Fedora bugzilla system here:
  
https://bugzilla.redhat.com/show_bug.cgi?id=1685727

Cheers
  Nick

bfd/ChangeLog
2019-03-06  Nick Clifton  <nickc@redhat.com>

	* dwarf2.c (_bfd_dwarf2_find_symbol_bias): Check for a NULL symbol
	table pointer.
	* coffgen.c (coff_find_nearest_line_with_names): Do not call
	_bfd_dwarf2_find_symbol_bias if there is no symbol table available.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bz1685727.patch
Type: text/x-patch
Size: 1274 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20190306/e4c92893/attachment.bin>


More information about the Binutils mailing list