Ensure that we don't pass overflowed values into make, because
a clever attacker could see that to cause:
(bits+7)/8
to become negative, they just have to make (bits+7) become negative
simply by >=maxint-6
but also reject unreasonably large element count like >2**32, which
while arbitrary is super duper large for a bit array.
Fixes #9162
|
||
|---|---|---|
| .. | ||
| codec | ||
| hd | ||
| keyring | ||
| keys | ||
| ledger | ||
| types | ||
| armor_test.go | ||
| armor.go | ||
| bcrypt_readme.md | ||