Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When reading and extracting ZIP archives, ZipReader normalizes file paths. An absolute path (starting with "/") is normalized as a relative path starting with "ROOT". Components ".." in the path are replaced with "UP". Components "." in the path are replaced with "DOT". Duplicated path separators "/" are collapsed. Characters that are not valid in Windows file names are replaced with the replacement character U+FFFD �. This replacement is done even on POSIX systems where these characters are valid. BUG=chromium:953256 TEST=autoninja -C out/Default zlib_unittests && out/Default/zlib_unittests Change-Id: I5062e0c58afaeec1b4e858eedda97e35d83316b1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3538040 Reviewed-by: Alex Danilo <adanilo@chromium.org> Commit-Queue: François Degros <fdegros@chromium.org> Cr-Commit-Position: refs/heads/main@{#984716}
- Loading branch information
Showing
5 changed files
with
243 additions
and
86 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.