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

This commit is contained in:
zzz
2014-05-13 18:39:56 +00:00
parent 5621e9b390
commit 197be5f60f

View File

@@ -186,7 +186,7 @@ class MailPart {
} }
} }
else if( message ) { else if( message ) {
MailPart newPart = new MailPart(buffer, beginBody, end); MailPart newPart = new MailPart(buffer, beginBody, end - beginBody);
parts.add( newPart ); parts.add( newPart );
} }
} }