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