summaryrefslogtreecommitdiffstats
path: root/redhat/tdepim/kdepim-3.5.13.1-fix_imapparser_segv.patch
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2014-10-06 12:16:27 -0500
committerTimothy Pearson <[email protected]>2014-10-06 12:16:27 -0500
commitecd088049d4aa2e8262f4cc1e0ac45e135964229 (patch)
tree49ed22e9e7852fd3f26854aecf41c96169d59629 /redhat/tdepim/kdepim-3.5.13.1-fix_imapparser_segv.patch
parent855439d3f99b0c152c33ae76a06cce9853f9b8dd (diff)
parent01a7863524342e1aec31679e55d08830cc571066 (diff)
downloadtde-packaging-ecd088049d4aa2e8262f4cc1e0ac45e135964229.tar.gz
tde-packaging-ecd088049d4aa2e8262f4cc1e0ac45e135964229.zip
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tde-packaging
Diffstat (limited to 'redhat/tdepim/kdepim-3.5.13.1-fix_imapparser_segv.patch')
-rw-r--r--redhat/tdepim/kdepim-3.5.13.1-fix_imapparser_segv.patch44
1 files changed, 0 insertions, 44 deletions
diff --git a/redhat/tdepim/kdepim-3.5.13.1-fix_imapparser_segv.patch b/redhat/tdepim/kdepim-3.5.13.1-fix_imapparser_segv.patch
deleted file mode 100644
index 4be0cd25f..000000000
--- a/redhat/tdepim/kdepim-3.5.13.1-fix_imapparser_segv.patch
+++ /dev/null
@@ -1,44 +0,0 @@
---- kdepim-3.5.13.1/kioslaves/imap4/imapparser.cc.segv 2012-09-08 12:06:42.000000000 +0200
-+++ kdepim-3.5.13.1/kioslaves/imap4/imapparser.cc 2012-09-26 12:05:13.897737893 +0200
-@@ -345,6 +345,7 @@
- parseOneWordC(result); // *
- TQByteArray what = parseLiteral (result); // see whats coming next
-
-+ if(!what.isEmpty ()) {
- switch (what[0])
- {
- //the status responses
-@@ -482,6 +483,7 @@
- if (valid)
- {
- what = parseLiteral (result);
-+ if(!what.isEmpty ()) {
- switch (what[0])
- {
- case 'E':
-@@ -520,10 +522,12 @@
- default:
- break;
- }
-+ }
- }
- }
- break;
- } //switch
-+ }
- } //func
-
-
-@@ -1915,9 +1919,10 @@
- if (!inWords.isEmpty() && inWords[0] == '{')
- {
- TQCString retVal;
-- ulong runLen = inWords.find ('}', 1);
-- if (runLen > 0)
-+ long srunLen = inWords.find ('}', 1); // Can return -1, so use a signed long
-+ if (srunLen > 0)
- {
-+ ulong runLen = (ulong)srunLen;
- bool proper;
- ulong runLenSave = runLen + 1;
- TQCString tmpstr(runLen);