Review Request for JDK-8003992: File and other classes in java.io do not handle embedded nulls properly (original) (raw)
Alan Bateman Alan.Bateman at oracle.com
Wed Feb 27 12:15:06 UTC 2013
- Previous message: Review Request for JDK-8003992: File and other classes in java.io do not handle embedded nulls properly
- Next message: Review Request for JDK-8003992: File and other classes in java.io do not handle embedded nulls properly
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 27/02/2013 12:07, Peter Levart wrote:
What does a FileInputStream for example do when trying to open a File with embedded NUL chars on UNIX/Windows ? Does it try to open a "truncated" path? If so, then perhaps "normalize" could do that beforehand... Yes, it's truncated. Dan's fix covers FileInputStream and friends too as they go through the normalize code.
-Alan
- Previous message: Review Request for JDK-8003992: File and other classes in java.io do not handle embedded nulls properly
- Next message: Review Request for JDK-8003992: File and other classes in java.io do not handle embedded nulls properly
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]