summaryrefslogtreecommitdiffstats
path: root/mageia/dependencies/qt3/qt-x11-free-3.3.5-qtranslator-crash.patch
diff options
context:
space:
mode:
authorFrancois Andriot <francois.andriot@free.fr>2012-08-02 11:13:00 +0200
committerFrancois Andriot <francois.andriot@free.fr>2012-08-02 11:13:00 +0200
commit0704427510fa18d90170cf13d1fd81e446a1d3b0 (patch)
treef88eb0400bf4608d95808aeea656185634b9c0fc /mageia/dependencies/qt3/qt-x11-free-3.3.5-qtranslator-crash.patch
parent9f07f141355cd13d40a39a2f123c6516209c5fcf (diff)
downloadtde-packaging-0704427510fa18d90170cf13d1fd81e446a1d3b0.tar.gz
tde-packaging-0704427510fa18d90170cf13d1fd81e446a1d3b0.zip
Mageia: initial QT3 version for TDE 3.5.13
Diffstat (limited to 'mageia/dependencies/qt3/qt-x11-free-3.3.5-qtranslator-crash.patch')
-rw-r--r--mageia/dependencies/qt3/qt-x11-free-3.3.5-qtranslator-crash.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/mageia/dependencies/qt3/qt-x11-free-3.3.5-qtranslator-crash.patch b/mageia/dependencies/qt3/qt-x11-free-3.3.5-qtranslator-crash.patch
new file mode 100644
index 000000000..a6b896664
--- /dev/null
+++ b/mageia/dependencies/qt3/qt-x11-free-3.3.5-qtranslator-crash.patch
@@ -0,0 +1,11 @@
+--- src/kernel/qtranslator.cpp.sav 2004-08-12 14:32:07.000000000 +0200
++++ src/kernel/qtranslator.cpp 2005-03-15 18:05:29.620141650 +0100
+@@ -990,7 +990,7 @@ QTranslatorMessage QTranslator::findMess
+ char con[256];
+ for ( ;; ) {
+ t >> len;
+- if ( len == 0 )
++ if ( len == 0 || t.atEnd())
+ return QTranslatorMessage();
+ t.readRawBytes( con, len );
+ con[len] = '\0';