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 );
|
||||
}
|
||||
|
@@ -18,10 +18,10 @@ public class RouterVersion {
|
||||
/** deprecated */
|
||||
public final static String ID = "Monotone";
|
||||
public final static String VERSION = CoreVersion.VERSION;
|
||||
public final static long BUILD = 16;
|
||||
public final static long BUILD = 17;
|
||||
|
||||
/** for example "-test" */
|
||||
public final static String EXTRA = "";
|
||||
public final static String EXTRA = "-rc";
|
||||
public final static String FULL_VERSION = VERSION + "-" + BUILD + EXTRA;
|
||||
public static void main(String args[]) {
|
||||
System.out.println("I2P Router version: " + FULL_VERSION);
|
||||
|
Reference in New Issue
Block a user