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
For very large decimal string input, types.NewDecFromStr does not validate the decimal size and return a valid Dec. Subsequent usages of this Dec methods can lead to panic.
odeke-em
changed the title
types: NewDecFromStr can return a Dec with too big decimal
types: NewDecFromStr can return a Dec with too big decimal and panic
Apr 21, 2021
Summary of Bug
For very large decimal string input, types.NewDecFromStr does not validate the decimal size and return a valid Dec. Subsequent usages of this Dec methods can lead to panic.
Found by oss-fuzz: https://oss-fuzz.com/testcase-detail/6454129938530304 through continuous fuzzing
Version
045c45f
Steps to Reproduce
For Admin Use
The text was updated successfully, but these errors were encountered: