RFR: 8251329: (zipfs) Files.walkFileTree walks infinitely if zip has dir named "." inside [v6]
Alan Bateman
alanb at openjdk.java.net
Sat Jul 31 09:40:31 UTC 2021
On Fri, 30 Jul 2021 17:22:59 GMT, Lance Andersen <lancea at openjdk.org> wrote:
>> Hi,
>>
>> As discussed in the https://mail.openjdk.java.net/pipermail/core-libs-dev/2021-July/079621.html thread, this is the revised patch to address the use of '.' and '..' within Zip FS
>>
>> Zip FS needs to use "." and ".." as links to the current and parent directories and cannot reliably support entries that have "." and ".." as name elements. This patch updates Zip Fs to reject ZIP files that have entries in the CEN that can't be used for files in a file system.
>>
>>
>> Mach5 tiers 1 through 3 have been run without any errors encountered .
>>
>> Best,
>> Lance
>
> Lance Andersen has updated the pull request incrementally with one additional commit since the last revision:
>
> Add missing space in if statement
Marked as reviewed by alanb (Reviewer).
-------------
PR: https://git.openjdk.java.net/jdk/pull/4900
More information about the nio-dev
mailing list