| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
ZIP archives can contain more than one structurally plausible EOCD record. Selecting based on whether a comment reaches EOF can make the chosen central directory depend on trailing padding. Inspect all candidates in the common tail window and reject archives with multiple plausible interpretations. Signed-off-by: Matteo Collina <hello@matteocollina.com>
|
I like the fix since it both matches the ecosystem, but still keeps our slightly tighter strictness. There are a few cases where exotic archives would be rejected for being wrong failing closed. |
Sorry, something went wrong.
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## main #65007 +/- ##
==========================================
- Coverage 90.29% 90.28% -0.01%
==========================================
Files 760 762 +2
Lines 247061 247699 +638
Branches 46586 46718 +132
==========================================
+ Hits 223076 223642 +566
- Misses 15448 15489 +41
- Partials 8537 8568 +31
... and 70 files with indirect coverage changes 🚀 New features to boost your workflow:
|
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
ZIP archives can contain more than one structurally plausible EOCD record. Selecting based on whether a comment reaches EOF can make the chosen central directory depend on trailing padding. Inspect all candidates in the common tail window and reject archives with multiple plausible interpretations. Signed-off-by: Matteo Collina <hello@matteocollina.com> PR-URL: #65007 Reviewed-By: Filip Skokan <panva.ip@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
ZIP archives can contain more than one structurally plausible EOCD record. Selecting based on whether a comment reaches EOF can make the chosen central directory depend on trailing padding. Inspect all candidates in the common tail window and reject archives with multiple plausible interpretations. Signed-off-by: Matteo Collina <hello@matteocollina.com> PR-URL: #65007 Reviewed-By: Filip Skokan <panva.ip@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
| Back | FazBrowse Home | New Git URL |
ZIP archives can contain more than one structurally plausible EOCD record. The previous exact-comment-first search could choose a different central directory depending on trailing padding.
Scan candidates in the same tail window used for file-backed archives and reject multiple plausible interpretations. Invalid EOCD-like comment bytes remain ignored, and padded archives with one interpretation remain supported.