Indirect references to data blocks were not being properly handled, so
large files (those using an indirect reference to the data) were not
restored properly.
This was at least caught by the checksums, so no data was ever silently
corrupted.
next if $obj eq "";
if ($obj =~ /^@(\S+)$/) {
my $indirect = load_ref($1);
- iterate_objects($callback, $arg, $1, $recursion_level + 1);
+ iterate_objects($callback, $arg, $indirect, $recursion_level + 1);
} else {
&$callback($arg, $obj);
}