RFR: 8285445: cannot open file "NUL:"
Bernd Eckenfels
ecki at zusammenkunft.net
Sat Apr 23 01:58:39 UTC 2022
Is that really a needed fix? enabling ADS and less strict parsing might introduce vulnerability but on the other hand NUL: should be allowed for it is a drive style not a ADS.
I would also think the number of users who want use NUL: is smaller than the number of users who benefit from ADS being forbidden. Especially since \\.\NUL or NUL should already work.
Gruss
Bernd
--
http://bernd.eckenfels.net
________________________________
Von: core-libs-dev <core-libs-dev-retn at openjdk.java.net> im Auftrag von Brian Burkhalter <bpb at openjdk.java.net>
Gesendet: Saturday, April 23, 2022 3:20:02 AM
An: core-libs-dev at openjdk.java.net <core-libs-dev at openjdk.java.net>
Betreff: RFR: 8285445: cannot open file "NUL:"
Change the default value of the `jdk.io.File.enableADS` property to `true`.
-------------
Commit messages:
- 8285445: cannot open file "NUL:"
Changes: https://git.openjdk.java.net/jdk/pull/8373/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=8373&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8285445
Stats: 57 lines in 2 files changed: 52 ins; 1 del; 4 mod
Patch: https://git.openjdk.java.net/jdk/pull/8373.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/8373/head:pull/8373
PR: https://git.openjdk.java.net/jdk/pull/8373
More information about the core-libs-dev
mailing list