cosmos-sdk/x
Cuong Manh Le ef69863f46
x/bank/types: fix AddressFromBalancesStore address length overflow (#9112)
addrLen is encoded in a byte, so it's an uint8. The code in
AddressFromBalancesStore cast it to int for bound checking, but wrongly uses "addrLen+1", which can be overflow.

To fix this, just cast addrLen once and use it in all places.

Found by fuzzing added in #9060.

Fixes #9111
2021-04-15 00:13:55 -07:00
..
auth merged master 2021-04-10 19:23:58 -04:00
authz remove unneeded exported files (#9097) 2021-04-12 08:17:02 +00:00
bank x/bank/types: fix AddressFromBalancesStore address length overflow (#9112) 2021-04-15 00:13:55 -07:00
capability fixed broken links, typos (#8783) 2021-03-09 09:51:52 +00:00
crisis logging (#8785) 2021-03-04 20:40:01 +00:00
distribution Merge branch 'master' into powerreduction_param 2021-04-10 16:26:50 -04:00
evidence merged in master 2021-03-21 16:37:06 -04:00
feegrant Merge branch 'master' into powerreduction_param 2021-04-10 16:26:50 -04:00
genaccounts various linter fixes (#8666) 2021-02-23 08:46:01 +00:00
genutil Remove bech32 PubKey support (#7477) 2021-03-25 14:53:22 +00:00
gov merged in master 2021-04-06 19:19:59 -04:00
mint various linter fixes (#8666) 2021-02-23 08:46:01 +00:00
params various linter fixes (#8666) 2021-02-23 08:46:01 +00:00
simulation various linter fixes (#8666) 2021-02-23 08:46:01 +00:00
slashing merged in master 2021-04-06 19:19:59 -04:00
staking remove unneeded exported files (#9097) 2021-04-12 08:17:02 +00:00
upgrade bump tendermint core (#9081) 2021-04-08 20:22:00 +01:00
README.md Remove IBC from the SDK (#8735) 2021-03-04 13:11:34 +00:00

README.md

List of Modules

Here are some production-grade modules that can be used in Cosmos SDK applications, along with their respective documentation:

  • Auth - Authentication of accounts and transactions for Cosmos SDK application.
  • Authz - Authorization for accounts to perform actions on behalf of other accounts.
  • Bank - Token transfer functionalities.
  • Capability - Object capability implementation.
  • Crisis - Halting the blockchain under certain circumstances (e.g. if an invariant is broken).
  • Distribution - Fee distribution, and staking token provision distribution.
  • Evidence - Evidence handling for double signing, misbehaviour, etc.
  • Governance - On-chain proposals and voting.
  • Mint - Creation of new units of staking token.
  • Params - Globally available parameter store.
  • Slashing - Validator punishment mechanisms.
  • Staking - Proof-of-Stake layer for public blockchains.
  • Upgrade - Software upgrades handling and coordination.

To learn more about the process of building modules, visit the building modules reference documentation.

IBC

The IBC module for the SDK has moved to its own repository.