More fixes for memory corruption when readelf processes corrupt files.
[deliverable/binutils-gdb.git] / binutils / ChangeLog
index 1f551dd1f1f8a74b1358f07cb7b0c9a80f364d64..f3c719631826bc0afbf4c61ddb8818416b05208d 100644 (file)
@@ -1,3 +1,27 @@
+2014-11-04  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/17531
+       * readelf.c (get_data): If the reason parameter is null, do not
+       print any error messages.
+       (get_32bit_section_headers): Verify section header entry size
+       before reading in the section headers.
+       (get_64bit_section_headers): Likewise.
+       (process_section_headers): Pass FALSE to get_section_headers.
+       (get_file_header): Pass TRUE to get_section_headers.
+       (process_dynamic_section): Change an assert to an error message.
+       (process_symbol_table): Handle corrupt histograms.
+
+       (get_32bit_program_headers): Verify program header entry size
+       before reading in the program headers.
+       (get_64bit_program_headers): Likewise.
+       (get_unwind_section_word): Do nothing if no section was provided.
+       Fail if the offset is outside of the section.
+       (print_dynamic_symbol): Catch out of range symbol indicies.
+       (process_mips_specific): Likewise.
+       (process_attributes): Make sure that there is enough space left in
+       the section before attempting to read the length of the next
+       attribute.
+
 2014-11-03  Nick Clifton  <nickc@redhat.com>
 
        PR binutils/17512
This page took 0.022989 seconds and 4 git commands to generate.