mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-27 00:28:10 +00:00
transaction: Fix buffer overflow
This commit is contained in:
parent
5cac99fdf4
commit
09917920ba
@ -64,7 +64,7 @@ bool compute_address(const CoinType *coin,
|
||||
bool has_multisig, const MultisigRedeemScriptType *multisig,
|
||||
char address[MAX_ADDR_SIZE]) {
|
||||
|
||||
uint8_t raw[32];
|
||||
uint8_t raw[34];
|
||||
uint8_t digest[MAX_ADDR_RAW_SIZE];
|
||||
size_t prelen;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user