]> git.pld-linux.org Git - packages/rpm.git/commitdiff
5.4.14-no-assert-abort-with-broken-headers.patch outdated
authorElan Ruusamäe <glen@delfi.ee>
Wed, 20 Apr 2016 13:59:47 +0000 (16:59 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 20 Apr 2016 13:59:47 +0000 (16:59 +0300)
the assert is no longer there

rpm-5.4.14-no-assert-abort-with-broken-headers.patch [deleted file]
rpm.spec

diff --git a/rpm-5.4.14-no-assert-abort-with-broken-headers.patch b/rpm-5.4.14-no-assert-abort-with-broken-headers.patch
deleted file mode 100644 (file)
index 0b9278e..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- rpm-5.4.14/rpmdb/header.c.noassert~        2014-06-25 19:22:35.521902207 +0200
-+++ rpm-5.4.14/rpmdb/header.c  2014-06-25 19:22:37.381920455 +0200
-@@ -1076,7 +1076,7 @@ assert(h != NULL);
-               rpmuint32_t * stei = (rpmuint32_t *)
-                       memcpy(alloca(nb), dataStart + off, nb);
-               rdl = (rpmuint32_t)-ntohl(stei[2]);     /* negative offset */
--assert((rpmint32_t)rdl >= 0); /* XXX insurance */
-+//assert((rpmint32_t)rdl >= 0);       /* XXX insurance */
-               ril = (rpmuint32_t)(rdl/sizeof(*pe));
-               if (hdrchkTags(ril) || hdrchkData(rdl))
-                   goto errxit;
index a8fc5f123a56040b27fd9a7b293200cd752ef843..12a304f08ba414206d9c99fc2b0c988e91734eb4 100644 (file)
--- a/rpm.spec
+++ b/rpm.spec
@@ -290,8 +290,6 @@ Patch1045:  %{name}-5.4.12-fix-rpmpython-module-import-init.patch
 # stab at adding support for fixing your specific problem to the util ;)
 # https://abf.io/openmandriva/rpm/raw/master/rpm-5.4.14-rpmdbchk.patch
 Patch1048:     %{name}-5.4.14-rpmdbchk.patch
-# https://abf.io/openmandriva/rpm/raw/master/rpm-5.4.14-no-assert-abort-with-broken-headers.patch
-Patch1049:     %{name}-5.4.14-no-assert-abort-with-broken-headers.patch
 
 Patch1050:     python-libx32.patch
 
@@ -1004,7 +1002,6 @@ cd -
 %patch1045 -p1
 
 %patch1048 -p1
-%patch1049 -p1
 
 %patch83 -p1
 %patch92 -p1
This page took 0.139661 seconds and 4 git commands to generate.