Files
cosmos-sdk/crypto
Emmanuel T Odeke ec285f1798 crypto/hd: properly catch index overflows to ensure conformance with BIP 32 (#7628)
* crypto/hd: properly catch index overflows to ensure conformance with BIP 32

Uses 31 bits as the bitsize argument to strconv.ParseUint to ensure
that we correctly parse values in the range [0, max(int32)]

Adds tests too to prevent future regressions of this subtlety.

Fixes #7627.

* Address Fedekunze's testing review
2020-11-03 20:28:42 +01:00
..
2020-10-23 12:07:52 +00:00
2020-10-02 15:13:58 +02:00
2020-09-16 11:08:55 +00:00
2020-08-14 13:58:53 -04:00