[SCM] Qt 4 packaging branch, master, updated. debian/4.8.6+git155-g716fbae+dfsg-1-3-g2c83578
Lisandro Damián Nicanor Pérez
lisandro at moszumanska.debian.org
Thu Apr 30 23:49:58 UTC 2015
Gitweb-URL: http://git.debian.org/?p=pkg-kde/qt/qt4-x11.git;a=commitdiff;h=dec1cfe
The following commit has been merged in the master branch:
commit dec1cfe814625cfa8a7e3e688670698e0e243e13
Author: Lisandro Damián Nicanor Pérez Meyer <perezmeyer at gmail.com>
Date: Thu Apr 30 20:47:44 2015 -0300
Patch to fix CVE-2015-1860.
---
debian/changelog | 4 ++-
.../patches/fixes_crash_in_gif_image_decoder.patch | 31 ++++++++++++++++++++++
2 files changed, 34 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 8e56d72..61cb617 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
qt4-x11 (4:4.8.6+git155-g716fbae+dfsg-2) UNRELEASED; urgency=medium
-
+ [ Lisandro Damián Nicanor Pérez Meyer ]
+ * Add fixes_crash_in_gif_image_decoder.patch to fix CVE-2015-1860 (gif image
+ decoder vulnerability).
-- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org> Thu, 30 Apr 2015 20:42:00 -0300
diff --git a/debian/patches/fixes_crash_in_gif_image_decoder.patch b/debian/patches/fixes_crash_in_gif_image_decoder.patch
new file mode 100644
index 0000000..9f1efea
--- /dev/null
+++ b/debian/patches/fixes_crash_in_gif_image_decoder.patch
@@ -0,0 +1,31 @@
+From a1cf194c54be57d6ab55dfd26b9562a60532208e Mon Sep 17 00:00:00 2001
+From: Eirik Aavitsland <eirik.aavitsland at theqtcompany.com>
+Date: Wed, 11 Mar 2015 09:00:41 +0100
+Subject: [PATCH] Fixes crash in gif image decoder
+
+Fuzzing test revealed that for certain malformed gif files,
+qgifhandler would segfault.
+
+Change-Id: I5bb6f60e1c61849e0d8c735edc3869945e5331c1
+(cherry picked from qtbase/ea2c5417fcd374302f5019e67f72af5facbd29f6)
+Reviewed-by: Richard J. Moore <rich at kde.org>
+---
+ src/gui/image/qgifhandler.cpp | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/src/gui/image/qgifhandler.cpp b/src/gui/image/qgifhandler.cpp
+index 5199dd3..49aa2a6 100644
+--- a/src/gui/image/qgifhandler.cpp
++++ b/src/gui/image/qgifhandler.cpp
+@@ -944,6 +944,8 @@ void QGIFFormat::fillRect(QImage *image, int col, int row, int w, int h, QRgb co
+
+ void QGIFFormat::nextY(unsigned char *bits, int bpl)
+ {
++ if (out_of_bounds)
++ return;
+ int my;
+ switch (interlace) {
+ case 0: // Non-interlaced
+--
+2.1.4
+
--
Qt 4 packaging
More information about the pkg-kde-commits
mailing list