fix sense of end_offset test

This commit is contained in:
Trammell hudson 2018-01-26 15:56:25 -05:00
parent fc0494c5b4
commit a460c4aa14
Failed to extract signature

View File

@ -59,7 +59,7 @@ sub process_region
# Adjust the end offset if they ask for too much # Adjust the end offset if they ask for too much
$end_offset = $length - 0x30 $end_offset = $length - 0x30
unless (defined $end_offset || $end_offset > $length - 0x30); if !defined $end_offset or $end_offset > $length - 0x30;
for(my $offset = $start_offset ; $offset < $end_offset ; $offset += $step) for(my $offset = $start_offset ; $offset < $end_offset ; $offset += $step)
{ {