2022-06-27 12:53:49 +02:00
|
|
|
--- lib/header.c.orig 2017-12-01 15:54:04.254399473 +0000
|
|
|
|
+++ lib/header.c 2017-12-01 15:55:36.389131237 +0000
|
2017-12-05 11:46:24 +01:00
|
|
|
@@ -929,7 +929,8 @@ rpmRC hdrblobImport(hdrblob blob, int fa
|
2012-04-20 17:01:48 +02:00
|
|
|
|
|
|
|
rdlen += REGION_TAG_COUNT;
|
2012-08-28 15:31:44 +02:00
|
|
|
|
2017-12-05 11:46:24 +01:00
|
|
|
- if (rdlen != blob->dl)
|
2012-04-20 17:01:48 +02:00
|
|
|
+ /* should be equality test, but can be off if entries are not perfectly aligned */
|
2017-12-05 11:46:24 +01:00
|
|
|
+ if (rdlen > blob->dl)
|
2012-04-20 17:01:48 +02:00
|
|
|
goto errxit;
|
|
|
|
}
|
|
|
|
|