Permit sanity check on immutable region tags too.
authorjbj <devnull@localhost>
Tue, 8 Jun 2004 15:26:20 +0000 (15:26 +0000)
committerjbj <devnull@localhost>
Tue, 8 Jun 2004 15:26:20 +0000 (15:26 +0000)
CVS patchset: 7297
CVS date: 2004/06/08 15:26:20

scripts/rpmdiff

index b2ddcde..57ce3d6 100644 (file)
@@ -415,7 +415,7 @@ sub set_static_vars {
   
   $NUM_DIFFERENCES = 0;
 
-  $RCS_REVISION = ' $Revision: 1.7 $ ';
+  $RCS_REVISION = ' $Revision: 1.8 $ ';
   
   # set a known path.
  
@@ -619,7 +619,7 @@ sub parse_rpm_headers {
     $header_position += $HEADER_RECORD_SIZE;
     
     (    
-     ( ($tag < 100) || ($tag > 1200) ) ||
+     ( ($tag < 60) || ($tag > 1200) ) ||
      ( ($data_type < 0) || ($data_type > 10) ) ||
      ($offset < 0)
     ) && die("$0: Error parsing header in rpm file: $filename, ".