Fix illegal memory accesses trigeered when linking corrupt input files.
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index eb283d61e397fe04329db328914281a44cbe781f..88365d0aa573e70fac32d2c359a5c43712cdf298 100644 (file)
@@ -1,5 +1,16 @@
 2018-04-17  Nick Clifton  <nickc@redhat.com>
 
+       PR 23055
+       * aoutx.h (find_nearest_line): Check that the symbol name exists
+       and is long enough, before attempting to see if it is for a .o
+       file.
+       * hash.c (bfd_hash_hash): Add an assertion that the string is not
+       NULL.
+       * linker.c (bfd_link_hash_lookup): Fail if the table or string are
+       NULL.
+       (_bfd_generic_link_add_archive_symbols): Fail if an archive entry
+       has no name.
+
        PR 23065
        * dwarf2.c (concat_filename): Check for a NULL table pointer.
 
This page took 0.023356 seconds and 4 git commands to generate.