hg: jdk8/tl/jdk: 8003992: File and other classes in java.io do not handle embedded nulls properly
dan.xu at oracle.com
dan.xu at oracle.com
Mon May 6 14:18:54 PDT 2013
Changeset: bd118033e44c
Author: dxu
Date: 2013-05-06 14:17 -0700
URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/bd118033e44c
8003992: File and other classes in java.io do not handle embedded nulls properly
Summary: Have every file operation done with File, FileInputStream, FileOutputStream, or RandomAccessFile that involves a file path containing NUL fail. Also reviewed by fweimer at redhat.com
Reviewed-by: alanb, sherman, ahgross, mduigou, dholmes, aph, plevart, martin
! src/share/classes/java/io/File.java
! src/share/classes/java/io/FileInputStream.java
! src/share/classes/java/io/FileOutputStream.java
! src/share/classes/java/io/RandomAccessFile.java
+ test/java/io/File/NulFile.java
More information about the net-dev
mailing list