* SusiMail: AIOOBE fix 2nd try (ticket #1269)

This commit is contained in:
zzz
2014-05-12 20:46:30 +00:00
parent 485d785e0b
commit 5621e9b390
2 changed files with 3 additions and 3 deletions

View File

@@ -173,8 +173,8 @@ class MailPart {
k += 2;
int endLastPart = i + 2;
if( beginLastPart != -1 ) {
int endLastPart = Math.min(i + 2, end);
MailPart newPart = new MailPart( buffer, beginLastPart, endLastPart - beginLastPart );
parts.add( newPart );
}