From 85d91b0060ec2218999d32f46d53c5385d5cf52a Mon Sep 17 00:00:00 2001 From: Greg Lewis Date: Wed, 27 Apr 2005 20:31:32 +0000 Subject: . Ensure that when files are extracted that their fully resolved path lies in or below the current working directory. Fixes a security problem with jar(1). This fix may change to be compatible with whatever fix Sun applies when they release the next version of 1.5. --- java/jdk13/files/patch-j2sdk1.3.1-resources-jar.properties | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 java/jdk13/files/patch-j2sdk1.3.1-resources-jar.properties (limited to 'java/jdk13/files/patch-j2sdk1.3.1-resources-jar.properties') diff --git a/java/jdk13/files/patch-j2sdk1.3.1-resources-jar.properties b/java/jdk13/files/patch-j2sdk1.3.1-resources-jar.properties new file mode 100644 index 000000000000..285bfb2b8a05 --- /dev/null +++ b/java/jdk13/files/patch-j2sdk1.3.1-resources-jar.properties @@ -0,0 +1,11 @@ +--- ../src/share/classes/sun/tools/jar/resources/jar.properties 11 Jul 2001 21:39:05 -0000 1.1.1.1 ++++ ../src/share/classes/sun/tools/jar/resources/jar.properties 27 Apr 2005 05:07:52 -0000 +@@ -30,6 +30,8 @@ + {0} : could not create directory + error.incorrect.length=\ + incorrect length while processing: {0} ++error.no.cwd=\ ++ {0} : could not determine current working directory + out.added.manifest=\ + added manifest + out.update.manifest=\ -- cgit v1.2.3