summaryrefslogtreecommitdiff
path: root/java/jdk12/files/patch-src-resources-jar.properties
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2005-05-02 18:55:36 +0000
committerGreg Lewis <glewis@FreeBSD.org>2005-05-02 18:55:36 +0000
commit8805fa551a61a4214b68828f3b1f067e2d00a2f3 (patch)
treeaef1bbbf0eeda8f831a59bc2cbce0bd7a1b1c40c /java/jdk12/files/patch-src-resources-jar.properties
parent- Update to 1.3.8 (diff)
. 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. . Bump PORTREVISION for this fix. Security: http://vuxml.FreeBSD.org/18e5428f-ae7c-11d9-837d-000e0c2e438a.html
Notes
Notes: svn path=/head/; revision=134505
Diffstat (limited to '')
-rw-r--r--java/jdk12/files/patch-src-resources-jar.properties13
1 files changed, 13 insertions, 0 deletions
diff --git a/java/jdk12/files/patch-src-resources-jar.properties b/java/jdk12/files/patch-src-resources-jar.properties
new file mode 100644
index 000000000000..cf9f7a02f564
--- /dev/null
+++ b/java/jdk12/files/patch-src-resources-jar.properties
@@ -0,0 +1,13 @@
+$FreeBSD$
+
+--- ../../src/share/classes/sun/tools/jar/resources/jar.properties 4 Aug 1999 21:07:59 -0000 1.1.1.1
++++ ../../src/share/classes/sun/tools/jar/resources/jar.properties 1 May 2005 04:57:38 -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=\