From 09917920ba313da4dcdc7c64d47b014440bf822d Mon Sep 17 00:00:00 2001 From: Saleem Rashid Date: Mon, 12 Jun 2017 17:33:09 +0100 Subject: [PATCH] transaction: Fix buffer overflow --- firmware/transaction.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/transaction.c b/firmware/transaction.c index 70954e0f3c..bb699b052b 100644 --- a/firmware/transaction.c +++ b/firmware/transaction.c @@ -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;