Michael Schröder
9c5d0ddfdb
OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=420
13 lines
371 B
Diff
13 lines
371 B
Diff
--- ./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 != blob->dl)
|
|
+ /* should be equality test, but can be off if entries are not perfectly aligned */
|
|
+ if (rdlen > blob->dl)
|
|
goto errxit;
|
|
}
|
|
|