Skip to content

Commit

Permalink
increase Uint MAX_BIT_LEN
Browse files Browse the repository at this point in the history
  • Loading branch information
esaulpaugh committed Feb 1, 2024
1 parent 7763cad commit 17f249f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/esaulpaugh/headlong/util/Uint.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
public final class Uint {

/* denial-of-service protection. prevent huge allocations in case numBits is untrusted. */
private static final int MAX_BIT_LEN = 4096;
private static final int MAX_BIT_LEN = 8192;

private static final long ZERO = 0L;

Expand Down

0 comments on commit 17f249f

Please sign in to comment.