Blame SOURCES/binutils-CVE-2019-14444.patch

66b412
--- binutils.orig/binutils/readelf.c	2019-08-13 10:03:33.518792590 +0100
66b412
+++ binutils-2.32/binutils/readelf.c	2019-08-13 10:04:22.885418269 +0100
66b412
@@ -13234,7 +13234,7 @@ apply_relocations (Filedata *
66b412
 	    }
66b412
 
66b412
 	  rloc = start + rp->r_offset;
66b412
-	  if ((rloc + reloc_size) > end || (rloc < start))
66b412
+	  if (rloc >= end || (rloc + reloc_size) > end || (rloc < start))
66b412
 	    {
66b412
 	      warn (_("skipping invalid relocation offset 0x%lx in section %s\n"),
66b412
 		    (unsigned long) rp->r_offset,