13 lines
367 B
Diff
13 lines
367 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;
|
|
}
|
|
|