Skip to content

Commit

Permalink
Fix bug in map handling (#94)
Browse files Browse the repository at this point in the history
Fixes issue #92
  • Loading branch information
scudette authored May 31, 2019
1 parent 0f6d6e1 commit 48110c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aff4/aff4_map.cc
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ AFF4Status AFF4Map::WriteStream(AFF4Stream* source, ProgressContext* progress) {
RETURN_IF_ERROR(last_target->WriteStream(source, progress));

// Add a single range to cover the bulk of the image.
AddRange(0, last_target->Size(), last_target->Size(), last_target);
AddRange(0, 0, last_target->Size(), last_target);

return STATUS_OK;
}
Expand Down

0 comments on commit 48110c4

Please sign in to comment.