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

6cffa7
--- binutils.orig/bfd/coffgen.c	2018-05-15 17:25:27.653131326 +0100
6cffa7
+++ binutils-2.27/bfd/coffgen.c	2018-05-15 17:41:49.604116561 +0100
6cffa7
@@ -1552,7 +1552,8 @@ coff_pointerize_aux (bfd *abfd,
6cffa7
     }
6cffa7
   /* A negative tagndx is meaningless, but the SCO 3.2v4 cc can
6cffa7
      generate one, so we must be careful to ignore it.  */
6cffa7
-  if (auxent->u.auxent.x_sym.x_tagndx.l > 0)
6cffa7
+  if ((unsigned long) auxent->u.auxent.x_sym.x_tagndx.l
6cffa7
+      < obj_raw_syment_count (abfd))
6cffa7
     {
6cffa7
       auxent->u.auxent.x_sym.x_tagndx.p =
6cffa7
 	table_base + auxent->u.auxent.x_sym.x_tagndx.l;