Skip to content

Commit

Permalink
fixes partial unfinished archive reads
Browse files Browse the repository at this point in the history
  • Loading branch information
Niedzwiedzw committed Dec 29, 2024
1 parent 615e545 commit f233aa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ where
}

if size == 0 {
return Ok(written);
continue;
}

let content = slice::from_raw_parts(buffer as *const u8, size);
Expand Down

0 comments on commit f233aa2

Please sign in to comment.