You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4f250f5
Browse filesBrowse the repository at this point in the historyBrowse files
fix: reject integer parameters at or above 2^63 (#3650)
* fix: reject integer parameters at or above 2^63
math.MaxInt64 is not representable as a float64 and rounds up to 2^63, so
range checks against it let 2^63 through to an implementation-defined
float-to-int conversion (MinInt on amd64, MaxInt on arm64).
Add inSignedIntRange, which compares against the exact power-of-two bound
before converting, and use it in toInt, toInt64 and the security and
typed-read argument normalizers.
Fixes#3489
* Remove inSignedIntRange doc comment
0 commit comments