UnixPath.normalizeAndCheck
Salter, Thomas A
Thomas.Salter at unisys.com
Thu Mar 26 06:28:28 PDT 2009
I was browsing through the nio2 code just trying to get familiar with it, when I noticed an apparent bug in UnixPath.normalizeAndCheck. It appears to reject nul characters up to the first occurrence of double slashes. Then it quits checking the rest of the path, so nuls are permitted any time after //.. (I'm looking at the jdk7 b50 source.)
Tom Salter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20090326/a3281efa/attachment.html
More information about the nio-dev
mailing list