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
18760e9f9d
commit
2a39a8e0a7
1 changed files with 1 additions and 1 deletions
|
@ -800,7 +800,7 @@ impl ZipFileData {
|
||||||
} else {
|
} else {
|
||||||
None
|
None
|
||||||
};
|
};
|
||||||
let header_start: Option<u64> = if self.header_start > spec::ZIP64_BYTES_THR {
|
let header_start: Option<u64> = if self.header_start >= spec::ZIP64_BYTES_THR {
|
||||||
Some(spec::ZIP64_BYTES_THR)
|
Some(spec::ZIP64_BYTES_THR)
|
||||||
} else {
|
} else {
|
||||||
None
|
None
|
||||||
|
|
Loading…
Add table
Reference in a new issue