forked from I2P_Developers/i2p.i2p
* SusiMail: AIOOBE fix 2nd try (ticket #1269)
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
|
Reference in New Issue
Block a user