gnu: Remove bsdiff traces.
authorMarius Bakke <marius@gnu.org>
Sat, 19 Jun 2021 15:17:02 +0000 (17:17 +0200)
committerMarius Bakke <marius@gnu.org>
Sat, 19 Jun 2021 15:17:02 +0000 (17:17 +0200)
This is a follow-up to 373c7b5791acd8f377455be47260948b843dd5db.

* gnu/packages/patches/bsdiff-CVE-2014-9862.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.

gnu/local.mk
gnu/packages/patches/bsdiff-CVE-2014-9862.patch [deleted file]

index 5d84b3c..da86c66 100644 (file)
@@ -854,7 +854,6 @@ dist_patch_DATA =                                           \
   %D%/packages/patches/bc-fix-cross-compilation.patch          \
   %D%/packages/patches/bear-disable-preinstall-tests.patch     \
   %D%/packages/patches/brightnessctl-elogind-support.patch     \
-  %D%/packages/patches/bsdiff-CVE-2014-9862.patch              \
   %D%/packages/patches/bsd-games-2.17-64bit.patch              \
   %D%/packages/patches/bsd-games-add-configure-config.patch    \
   %D%/packages/patches/bsd-games-add-wrapper.patch             \
diff --git a/gnu/packages/patches/bsdiff-CVE-2014-9862.patch b/gnu/packages/patches/bsdiff-CVE-2014-9862.patch
deleted file mode 100644 (file)
index 7aab818..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-diff --git a/bspatch.c b/bspatch.c
-index 8d95633..ab77722 100644
---- a/bspatch.c
-+++ b/bspatch.c
-
-@@ -187,6 +187,10 @@
-               };
-               /* Sanity-check */
-+              if ((ctrl[0] < 0) || (ctrl[1] < 0))
-+                      errx(1,"Corrupt patch\n");
-+
-+              /* Sanity-check */
-               if(newpos+ctrl[0]>newsize)
-                       errx(1,"Corrupt patch\n");