Streaming: Fix debug NPE (ticket #1821)

This commit is contained in:
zzz
2016-08-02 14:56:03 +00:00
parent 5fcafb6434
commit 9c0ae14609
3 changed files with 12 additions and 2 deletions

View File

@@ -780,7 +780,12 @@ class Packet {
if (isFlagSet(FLAG_MAX_PACKET_SIZE_INCLUDED)) buf.append(" MS ").append(_optionMaxSize);
if (isFlagSet(FLAG_PROFILE_INTERACTIVE)) buf.append(" INTERACTIVE");
if (isFlagSet(FLAG_RESET)) buf.append(" RESET");
if (isFlagSet(FLAG_SIGNATURE_INCLUDED)) buf.append(" SIG ").append(_optionSignature.length());
if (isFlagSet(FLAG_SIGNATURE_INCLUDED)) {
if (_optionSignature != null)
buf.append(" SIG ").append(_optionSignature.length());
else
buf.append(" (to be signed)");
}
if (isFlagSet(FLAG_SIGNATURE_REQUESTED)) buf.append(" SIGREQ");
if (isFlagSet(FLAG_SYNCHRONIZE)) buf.append(" SYN");
}

View File

@@ -1,3 +1,8 @@
2016-08-02 zzz
* i2psnark: Fix SIOOBE on bad announce URL (ticket #1823)
* SSU: Fix peer test stuck when IPv6-only (ticket #1819)
* Streaming: Fix debug NPE (ticket #1821)
2016-07-20 zzz
* SSU:
- Increase minimum peers if we have a IPv6 address

View File

@@ -18,7 +18,7 @@ public class RouterVersion {
/** deprecated */
public final static String ID = "Monotone";
public final static String VERSION = CoreVersion.VERSION;
public final static long BUILD = 7;
public final static long BUILD = 8;
/** for example "-test" */
public final static String EXTRA = "";