[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdesupport/strigi/libstreams/lib
From: Evgeny Egorochkin <phreedom.stdin () gmail ! com>
Date: 2010-08-21 23:47:56
Message-ID: 20100821234756.6AD5FAC86A () svn ! kde ! org
[Download RAW message or body]
SVN commit 1166486 by evgeny:
Fixed a nasty overflow when decoding quoted-printable encoded e-mail headers.
BUG: 248047
M +1 -1 mailinputstream.cpp
--- trunk/kdesupport/strigi/libstreams/lib/mailinputstream.cpp #1166485:1166486
@@ -175,7 +175,7 @@
}
decoded.append(str);
} else if (*q1 == 'q' || *q1 =='Q') {
- string& str(decodeQuotedPrintable(q2, (char)(end-q2)));
+ string& str(decodeQuotedPrintable(q2, end-q2));
if (strncasecmp("utf-8", s, 5) != 0) {
string encoding(s, q1-s-1);
decode(encoding, str);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic