diff options
author | François Andriot <albator78@libertysurf.fr> | 2013-06-24 19:50:32 +0200 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2013-06-24 19:50:32 +0200 |
commit | b4359e8bf97799f83dc1ca62744db7cfcc81bc87 (patch) | |
tree | 3346872613490cc467c19e1645d0026c1221bce7 /redhat/tdepim/kdepim-3.5.13-fix_segv.patch | |
parent | 4cc71d79c5718d59078d06c497a56d7c05b41576 (diff) | |
download | tde-packaging-b4359e8bf97799f83dc1ca62744db7cfcc81bc87.tar.gz tde-packaging-b4359e8bf97799f83dc1ca62744db7cfcc81bc87.zip |
RPM Packaging: rename directories
Diffstat (limited to 'redhat/tdepim/kdepim-3.5.13-fix_segv.patch')
-rw-r--r-- | redhat/tdepim/kdepim-3.5.13-fix_segv.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/redhat/tdepim/kdepim-3.5.13-fix_segv.patch b/redhat/tdepim/kdepim-3.5.13-fix_segv.patch new file mode 100644 index 000000000..10b071c46 --- /dev/null +++ b/redhat/tdepim/kdepim-3.5.13-fix_segv.patch @@ -0,0 +1,33 @@ +--- kdepim/kioslaves/imap4/imapparser.cc.segv 2012-05-29 20:22:52.187840588 +0200 ++++ kdepim/kioslaves/imap4/imapparser.cc 2012-05-29 20:29:30.723545443 +0200 +@@ -1354,10 +1354,10 @@ + label = parseOneWordC (inWords); + } + +- if (inWords[0] == ')') ++ if (!inWords.isEmpty () && inWords[0] == ')') + inWords.pos++; + } +- if (inWords[0] == ']') ++ if (!inWords.isEmpty () && inWords[0] == ']') + inWords.pos++; + skipWS (inWords); + +@@ -1479,6 +1479,7 @@ + { + TQCString word = parseLiteralC(inWords, false, true); + ++ if(!word.isEmpty()) { + switch (word[0]) + { + case 'E': +@@ -1602,6 +1603,9 @@ + parseLiteralC(inWords); + break; + } ++ } else { ++ parseLiteralC(inWords); ++ } + } + } + |