Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

StringUtils.parseInt can overflow #123

Open
georgercarder opened this issue Jun 1, 2022 · 0 comments
Open

StringUtils.parseInt can overflow #123

georgercarder opened this issue Jun 1, 2022 · 0 comments
Labels

Comments

@georgercarder
Copy link
Contributor

If the compiler used is < 0.8.0, since there is no check of length of _value then string representations of uints greater than 2**256-1 could be valid inputs, which would give an incorrect overflowed result.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant