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

49857a
--- binutils.orig/bfd/dwarf2.c	2018-05-17 11:46:03.916280930 +0100
49857a
+++ binutils-2.27/bfd/dwarf2.c	2018-05-17 12:11:45.193856898 +0100
49857a
@@ -1471,7 +1471,7 @@ concat_filename (struct line_info_table
49857a
 {
49857a
   char *filename;
49857a
 
49857a
-  if (file - 1 >= table->num_files)
49857a
+  if (table == NULL || file - 1 >= table->num_files)
49857a
     {
49857a
       /* FILE == 0 means unknown.  */
49857a
       if (file)