summaryrefslogtreecommitdiff
path: root/java/openjdk6/files/icedtea/security/20130201/7173145.patch
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2013-03-06 00:50:28 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2013-03-06 00:50:28 +0000
commit0f7f30e0b6084a2cbd4b8718e0629ee43e430afb (patch)
treed7cc0e27c2e50cd501beef2b9faad0637d0b5537 /java/openjdk6/files/icedtea/security/20130201/7173145.patch
parentUpdate to 25.0.1364.152 (diff)
Add multiple security patches from IcedTea6 1.12.3.
http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2013-February/021858.html http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2013-February/021998.html Obtained from: IcedTea Project
Diffstat (limited to 'java/openjdk6/files/icedtea/security/20130201/7173145.patch')
-rw-r--r--java/openjdk6/files/icedtea/security/20130201/7173145.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/java/openjdk6/files/icedtea/security/20130201/7173145.patch b/java/openjdk6/files/icedtea/security/20130201/7173145.patch
new file mode 100644
index 000000000000..b7971618d3d7
--- /dev/null
+++ b/java/openjdk6/files/icedtea/security/20130201/7173145.patch
@@ -0,0 +1,22 @@
+# HG changeset patch
+# User anthony
+# Date 1350043271 -14400
+# Node ID ce11c5c59cb8672eeddf9d5ce49563ccbc387854
+# Parent 9c2a2aae44a46e0b63b913987672d1488fa4e7a5
+7173145: Improve in-memory representation of splashscreens
+Reviewed-by: bae, mschoene
+
+diff --git a/src/share/native/sun/awt/splashscreen/splashscreen_jpeg.c b/src/share/native/sun/awt/splashscreen/splashscreen_jpeg.c
+--- jdk/src/share/native/sun/awt/splashscreen/splashscreen_jpeg.c
++++ jdk/src/share/native/sun/awt/splashscreen/splashscreen_jpeg.c
+@@ -133,6 +133,10 @@ SplashDecodeJpeg(Splash * splash, struct
+ ImageFormat srcFormat;
+
+ jpeg_read_header(cinfo, TRUE);
++
++ // SplashScreen jpeg converter expects data in RGB format only
++ cinfo->out_color_space = JCS_RGB;
++
+ jpeg_start_decompress(cinfo);
+
+ SplashCleanup(splash);