summaryrefslogtreecommitdiffstats
path: root/recipes-core/icedtea/openjdk-7-release-03b147.inc
diff options
context:
space:
mode:
authorAmy Fong <amy.fong@windriver.com>2015-04-16 14:48:46 -0400
committerOtavio Salvador <otavio@ossystems.com.br>2016-01-04 09:21:06 -0200
commitbf1362e05be0fccbcccb8d55291b8a5cf42c0f30 (patch)
tree7fb07fdd12f21bf72f46eb413bce41d315974649 /recipes-core/icedtea/openjdk-7-release-03b147.inc
parente3ac9836ab585c0b4134c7c0857cc275c403ad32 (diff)
downloadmeta-java-bf1362e05be0fccbcccb8d55291b8a5cf42c0f30.tar.gz
openjdk: fix CVE-2014-1876
Rather than creating /tmp/unpack.log and insecure permissions, if unpack cannot create teh specified log file, it defaults to writing to /dev/null, failing that, stderr. (These are the default options if it cannot write to /tmp/unpack.log) Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Diffstat (limited to 'recipes-core/icedtea/openjdk-7-release-03b147.inc')
-rw-r--r--recipes-core/icedtea/openjdk-7-release-03b147.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-core/icedtea/openjdk-7-release-03b147.inc b/recipes-core/icedtea/openjdk-7-release-03b147.inc
index dbdc045..83b087c 100644
--- a/recipes-core/icedtea/openjdk-7-release-03b147.inc
+++ b/recipes-core/icedtea/openjdk-7-release-03b147.inc
@@ -86,6 +86,7 @@ OPENJDK_PATCHES = " \
86 file://icedtea-disable-sun.applet-for-tools-in-headless.patch;apply=no \ 86 file://icedtea-disable-sun.applet-for-tools-in-headless.patch;apply=no \
87 file://icedtea-hotspot-fix-undefined-behaviour.patch;apply=no \ 87 file://icedtea-hotspot-fix-undefined-behaviour.patch;apply=no \
88 file://icedtea-x11_extension_cleanup.patch;apply=no \ 88 file://icedtea-x11_extension_cleanup.patch;apply=no \
89 file://icedtea-CVE-2014-1876-unpack.patch;apply=no \
89 " 90 "
90 91
91OPENJDK_HEADLESS_PATCHES = " \ 92OPENJDK_HEADLESS_PATCHES = " \
@@ -106,5 +107,6 @@ export DISTRIBUTION_PATCHES = " \
106 patches/icedtea-change-to-gdb-debug-format.patch \ 107 patches/icedtea-change-to-gdb-debug-format.patch \
107 patches/icedtea-hotspot-fix-undefined-behaviour.patch \ 108 patches/icedtea-hotspot-fix-undefined-behaviour.patch \
108 patches/icedtea-x11_extension_cleanup.patch \ 109 patches/icedtea-x11_extension_cleanup.patch \
110 patches/icedtea-CVE-2014-1876-unpack.patch \
109 ${CLEAN_X11_DISTRIBUTION_PATCH} \ 111 ${CLEAN_X11_DISTRIBUTION_PATCH} \
110 " 112 "