cosmos-sdk/x/gov/client/cli
Emmanuel T Odeke 56a49aba46
fix: x/gov/client/cli: fix integer overflow in parsing int prompted values (#13347)
Reported by cosmos/gosec in https://github.com/cosmos/cosmos-sdk/security/code-scanning/5730.
This change checks for errors from strconv.Atoi in which case we were
susceptible to out of range errors, this change also adds tests to
prevent regressions.

Fixes #13346
2022-09-21 01:26:50 +02:00
..
prompt_test.go fix: x/gov/client/cli: fix integer overflow in parsing int prompted values (#13347) 2022-09-21 01:26:50 +02:00
prompt.go fix: x/gov/client/cli: fix integer overflow in parsing int prompted values (#13347) 2022-09-21 01:26:50 +02:00
query.go chore: fix linting issues exposed by fixing golangci-lint (#12895) 2022-08-11 22:00:24 +02:00
tx.go feat: CLI tooling to generate proposal JSONs (#13304) 2022-09-19 14:22:04 +02:00
util_test.go feat: CLI tooling to generate proposal JSONs (#13304) 2022-09-19 14:22:04 +02:00
util.go feat: CLI tooling to generate proposal JSONs (#13304) 2022-09-19 14:22:04 +02:00