File headerchk2.diff of Package python3-rpm

--- 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;
     }