This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils 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]

Re: [PATCH] readelf, libdw: Guard against divide by zero line_range in .debug_line.


On Mon, Nov 24, 2014 at 02:45:05PM -0800, Roland McGrath wrote:
> Put an unlikely on all tests for bogons.

Done for all my pending bogon-detection patches and pushed them to master.

  libelf: elf_getphdrnum sanity check the returned phnum result.
  Use elf_getphdrnum instead of accessing ehdr->e_phnum directly.
  readelf: print_attributes (-A) robustify and handle non-gnu attributes.
  libelf: Copy over any leftover data from src to dest in elf_cvt_note.
  readelf: Check length for nexthdr overflow in print_debug_aranges_section.
  libelf: Change signed overflow check to unsigned in elf_getdata_rawchunk.
  libdw: Don't assert in __libdw_getabbrev when seeing bad DWARF.
  libdw: Always check __libdw_find_attr return value.
  readelf, libdw: Guard against divide by zero line_range in .debug_line.

Thanks,

Mark

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