Skip to content

Commit

Permalink
Allow at least 256bit for json number
Browse files Browse the repository at this point in the history
  • Loading branch information
李霖 authored and 李霖 committed Dec 19, 2023
1 parent 297c4f6 commit 8d1cbe7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ object Lexer {
// TODO need a variant that doesn't skip whitespace, so that attack vectors
// consisting of an infinite stream of space can exit early.

val NumberMaxBits: Int = 128
val NumberMaxBits: Int = 256

// True if we got a string (implies a retraction), False for }
def firstField(trace: List[JsonError], in: RetractReader): Boolean =
Expand Down

0 comments on commit 8d1cbe7

Please sign in to comment.