2012-08-28 15:31:44 +02:00
|
|
|
--- 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
|
2012-04-20 17:01:48 +02:00
|
|
|
|
|
|
|
rdlen += REGION_TAG_COUNT;
|
2012-08-28 15:31:44 +02:00
|
|
|
|
|
|
|
- if (rdlen != dl)
|
2012-04-20 17:01:48 +02:00
|
|
|
+ /* should be equality test, but can be off if entries are not perfectly aligned */
|
2012-08-28 15:31:44 +02:00
|
|
|
+ if (rdlen > dl)
|
2012-04-20 17:01:48 +02:00
|
|
|
goto errxit;
|
|
|
|
}
|
|
|
|
|