summaryrefslogtreecommitdiffstats
path: root/redhat/tdepim/kdepim-3.5.13.1-fix_imapparser_segv_2.patch
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2013-06-24 19:50:32 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2013-06-24 19:50:32 +0200
commitb4359e8bf97799f83dc1ca62744db7cfcc81bc87 (patch)
tree3346872613490cc467c19e1645d0026c1221bce7 /redhat/tdepim/kdepim-3.5.13.1-fix_imapparser_segv_2.patch
parent4cc71d79c5718d59078d06c497a56d7c05b41576 (diff)
downloadtde-packaging-b4359e8bf97799f83dc1ca62744db7cfcc81bc87.tar.gz
tde-packaging-b4359e8bf97799f83dc1ca62744db7cfcc81bc87.zip
RPM Packaging: rename directories
Diffstat (limited to 'redhat/tdepim/kdepim-3.5.13.1-fix_imapparser_segv_2.patch')
-rw-r--r--redhat/tdepim/kdepim-3.5.13.1-fix_imapparser_segv_2.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/redhat/tdepim/kdepim-3.5.13.1-fix_imapparser_segv_2.patch b/redhat/tdepim/kdepim-3.5.13.1-fix_imapparser_segv_2.patch
new file mode 100644
index 000000000..d8260c166
--- /dev/null
+++ b/redhat/tdepim/kdepim-3.5.13.1-fix_imapparser_segv_2.patch
@@ -0,0 +1,15 @@
+--- kdepim-3.5.13.1/kioslaves/imap4/imapparser.h~ 2012-09-26 14:43:52.932265697 +0200
++++ kdepim-3.5.13.1/kioslaves/imap4/imapparser.h 2012-09-26 14:45:33.190317168 +0200
+@@ -94,7 +94,11 @@
+ }
+ uint length()
+ {
+- return data.size() - pos;
++ if( pos < data.size() ) {
++ return data.size() - pos;
++ } else {
++ return 0;
++ }
+ }
+ void fromString(const TQString &s)
+ {