Fix an off-by-one error in large-file detection
Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
This commit is contained in:
parent
3ab9f457fb
commit
a462b859fa
1 changed files with 1 additions and 1 deletions
|
@ -811,7 +811,7 @@ impl ZipFileData {
|
||||||
None
|
None
|
||||||
};
|
};
|
||||||
let compressed_size: Option<u64> =
|
let compressed_size: Option<u64> =
|
||||||
if self.compressed_size > spec::ZIP64_BYTES_THR || self.large_file {
|
if self.compressed_size >= spec::ZIP64_BYTES_THR || self.large_file {
|
||||||
Some(spec::ZIP64_BYTES_THR)
|
Some(spec::ZIP64_BYTES_THR)
|
||||||
} else {
|
} else {
|
||||||
None
|
None
|
||||||
|
|
Loading…
Add table
Reference in a new issue