SHA256
6
0
forked from pool/rpm

- update to rpm-4.14.0

OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=420
This commit is contained in:
2017-12-05 10:46:24 +00:00
committed by Git OBS Bridge
parent b7cad375b8
commit 9c5d0ddfdb
48 changed files with 381 additions and 2141 deletions

View File

@@ -1,12 +1,12 @@
--- lib/header.c.orig 2012-04-03 13:29:24.000000000 +0000
+++ lib/header.c 2012-06-01 14:22:12.000000000 +0000
@@ -900,7 +900,8 @@ Header headerImport(void * blob, unsigne
--- ./lib/header.c.orig 2017-12-01 15:54:04.254399473 +0000
+++ ./lib/header.c 2017-12-01 15:55:36.389131237 +0000
@@ -929,7 +929,8 @@ rpmRC hdrblobImport(hdrblob blob, int fa
rdlen += REGION_TAG_COUNT;
- if (rdlen != dl)
- if (rdlen != blob->dl)
+ /* should be equality test, but can be off if entries are not perfectly aligned */
+ if (rdlen > dl)
+ if (rdlen > blob->dl)
goto errxit;
}