Size mismatch between Central Header and Local Header #684
Unanswered
reachforvenkat
asked this question in
Q&A
Replies: 1 comment 1 reply
-
It's a sanity check, but I agree that it should be possible to ignore it if you are trying to recover information from a corrupt archive. If the correct value is in the local header, you can use |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We are getting a size mismatch error but the size in central header and local header differs by only a few kilobytes.
Opening the same file in 7-Zip and running a test, there is no error
Snippet from Zipfile.cs
Is this check mandatory ? Can it be turned off or if the zip can be transformed to remove this error, please advise ?
The zip file is created by standard .Net compression library.
Beta Was this translation helpful? Give feedback.
All reactions