Datagram: handle empty repliable datagram payload

Datagram 1, as allowed by spec.

(from GH PR #164 by acetone)
This commit is contained in:
zzz
2026-07-27 16:15:25 -04:00
parent ea8f279473
commit e95ae8cc68
@@ -88,7 +88,9 @@ public final class I2PDatagramDissector {
// read payload
rxPayloadLen = dgStream.read(rxPayload);
if (rxPayloadLen < 0)
rxPayloadLen = 0;
// calculate the hash of the payload
if (type == SigType.DSA_SHA1) {
if (rxHash == null)