mirror of
https://github.com/i2p/i2p.i2p.git
synced 2024-12-06 19:27:00 +01:00
Router: Validate tunnel ID in requests
Fix max ID
This commit is contained in:
@@ -27,7 +27,7 @@ import java.io.OutputStream;
|
||||
public class TunnelId extends DataStructureImpl {
|
||||
private long _tunnelId;
|
||||
|
||||
public static final long MAX_ID_VALUE = (1L << 32) - 2L;
|
||||
public static final long MAX_ID_VALUE = 0xffffffffL;
|
||||
|
||||
public TunnelId() {
|
||||
_tunnelId = -1;
|
||||
|
||||
Reference in New Issue
Block a user