diff options
author | Francois Andriot <francois.andriot@free.fr> | 2012-10-21 19:27:55 +0200 |
---|---|---|
committer | Francois Andriot <francois.andriot@free.fr> | 2012-10-21 19:27:55 +0200 |
commit | eebed6b614c52895321754908c05b5082f531b85 (patch) | |
tree | 56bf0c5f54512c2fd8ed02cbe16d1da83b723461 /redhat/kdepim/kdepim-3.5.13.1-fix_imapparser_segv_2.patch | |
parent | 59daf455b483742c6c47099652117074df37889a (diff) | |
download | tde-packaging-eebed6b614c52895321754908c05b5082f531b85.tar.gz tde-packaging-eebed6b614c52895321754908c05b5082f531b85.zip |
RHEL/Fedora/MGA/MDV/Suse: update main and libraries for TDE 3.5.13.1
Diffstat (limited to 'redhat/kdepim/kdepim-3.5.13.1-fix_imapparser_segv_2.patch')
-rw-r--r-- | redhat/kdepim/kdepim-3.5.13.1-fix_imapparser_segv_2.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/redhat/kdepim/kdepim-3.5.13.1-fix_imapparser_segv_2.patch b/redhat/kdepim/kdepim-3.5.13.1-fix_imapparser_segv_2.patch new file mode 100644 index 000000000..d8260c166 --- /dev/null +++ b/redhat/kdepim/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) + { |