Fix an assert to check the maximum compressed size of each MSZIP block
The maximum compressed size of each MSZIP block is 32k + 12 bytes. So that means the size can be 32k + 12 bytes. However, the assert checks as follows. assert compressed_size < chunk_size + 12 Reference : https://msdn.microsoft.com/en-us/library/ee178063(v=exchg.80).aspx Bug: None Change-Id: I0d991be2909f4447144fccad83155c5967382557 Reviewed-on: https://chromium-review.googlesource.com/1074768 Commit-Queue: Nico Weber <thakis@chromium.org> Reviewed-by:Nico Weber <thakis@chromium.org> Cr-Commit-Position: refs/heads/master@{#567243}
Showing
Please register or sign in to comment