[SCM] Qt 4 packaging branch, master, updated. debian/4.8.2-1-8-g64e26ab
Lisandro Damián Nicanor Pérez
lisandro at alioth.debian.org
Sat Jul 21 17:43:50 UTC 2012
Gitweb-URL: http://git.debian.org/?p=pkg-kde/qt/qt4-x11.git;a=commitdiff;h=970bcb1
The following commit has been merged in the master branch:
commit 970bcb13f1be83641d71eebfa75c4de070929863
Author: Lisandro Damián Nicanor Pérez Meyer <perezmeyer at gmail.com>
Date: Fri Jul 20 20:46:32 2012 -0300
Basic patch.
It still needs proper filling of the tags.
---
.../patches/fix_use_after_free_qlocale_unix.patch | 21 ++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 22 insertions(+), 0 deletions(-)
diff --git a/debian/patches/fix_use_after_free_qlocale_unix.patch b/debian/patches/fix_use_after_free_qlocale_unix.patch
new file mode 100644
index 0000000..f2db126
--- /dev/null
+++ b/debian/patches/fix_use_after_free_qlocale_unix.patch
@@ -0,0 +1,21 @@
+Description: fix use after free in qlocale_unix.cpp
+ This patch avoids the use of the returned variable when the destructor
+ gets called.
+Author: Julien Cristau <julien.cristau at logilab.fr>
+Bug-Debian: http://bugs.debian.org/681476
+Origin: <vendor|upstream|other>, <url of original patch>
+Forwarded: <no|not-needed|url proving that it has been forwarded>
+Reviewed-By: <name and email of someone who approved the patch>
+Last-Update: 2012-07-20
+
+--- qt4-x11-4.8.2.orig/src/corelib/tools/qlocale_unix.cpp
++++ qt4-x11-4.8.2/src/corelib/tools/qlocale_unix.cpp
+@@ -52,7 +52,7 @@
+
+ QT_BEGIN_NAMESPACE
+
+-static const char *getSystemLocale()
++static QByteArray *getSystemLocale()
+ {
+ #if defined(Q_OS_QNX)
+ static char buff[257];
diff --git a/debian/patches/series b/debian/patches/series
index f7b6174..adb61a5 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -46,3 +46,4 @@ CVE-2011-3922.patch
qt_atomic_sparc64.patch
no_libicu_message.diff
QTBUG-25324_assistant_segfault_on_start_with_gcc_4.7.patch
+fix_use_after_free_qlocale_unix.patch
--
Qt 4 packaging
More information about the pkg-kde-commits
mailing list