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

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