diff options
author | Robert Xu <robxu9@gmail.com> | 2011-11-12 18:13:39 -0500 |
---|---|---|
committer | Robert Xu <robxu9@gmail.com> | 2011-11-12 18:13:39 -0500 |
commit | cd1f97695be1245ab19058d4fbc34e5697cc5383 (patch) | |
tree | b265d96856632dc78e566d337f7eff254b6695f7 /opensuse/core/qt3/fix-qtranslator-crash.diff | |
parent | 21fcfa3348213aa87f0e3aef62ca4720c6d31cb7 (diff) | |
download | tde-packaging-cd1f97695be1245ab19058d4fbc34e5697cc5383.tar.gz tde-packaging-cd1f97695be1245ab19058d4fbc34e5697cc5383.zip |
fix up tdebase and add qt3
Diffstat (limited to 'opensuse/core/qt3/fix-qtranslator-crash.diff')
-rw-r--r-- | opensuse/core/qt3/fix-qtranslator-crash.diff | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/opensuse/core/qt3/fix-qtranslator-crash.diff b/opensuse/core/qt3/fix-qtranslator-crash.diff new file mode 100644 index 000000000..e28d7126a --- /dev/null +++ b/opensuse/core/qt3/fix-qtranslator-crash.diff @@ -0,0 +1,11 @@ +--- src/kernel/qtranslator.cpp ++++ src/kernel/qtranslator.cpp +@@ -1012,7 +1012,7 @@ + char con[256]; + for ( ;; ) { + t >> len; +- if ( len == 0 ) ++ if ( len == 0 || t.atEnd()) + return QTranslatorMessage(); + t.readRawBytes( con, len ); + con[len] = '\0'; |