Blame SOURCES/binutils-CVE-2018-10373.patch

381f6c
--- binutils.orig/bfd/dwarf2.c	2018-05-01 11:42:03.152425647 +0100
381f6c
+++ binutils-2.30/bfd/dwarf2.c	2018-05-01 12:03:27.533735710 +0100
381f6c
@@ -1559,7 +1559,7 @@ concat_filename (struct line_info_table
381f6c
 {
381f6c
   char *filename;
381f6c
 
381f6c
-  if (file - 1 >= table->num_files)
381f6c
+  if (table == NULL || file - 1 >= table->num_files)
381f6c
     {
381f6c
       /* FILE == 0 means unknown.  */
381f6c
       if (file)