psbt: Fix unsigned integer overflow #25700 pull aureleoules wants to merge 1 commits into bitcoin:master from aureleoules:2022-07-fix-unsigned-int-overflow changing 1 files +3 −0 Conversation Commits1 Files1 Check aureleoules commented at 5:22 PM on July 25, 2022: member Fixes #25692. This change prevents an unsigned integer overflow during the deserialization of a PSBT. psbt: Fix unsigned integer overflow 4fa79837ad achow101 commented at 6:23 PM on July 25, 2022: member ACK 4fa79837ad19fada3a3df3fb490617f6ca4606e0 achow101 merged this on Jul 25, 2022 achow101 closed this on Jul 25, 2022 sidhujag referenced this in commit cc58e874b1 on Jul 25, 2022 aureleoules deleted the branch on Aug 25, 2022 bitcoin locked this on Aug 25, 2023 Contributorsaureleoulesachow101 Linked (view graph)#25692 psbt.h:896:51: runtime error: unsigned integer overflow: 0 - 1 cannot be represented in type 'unsigned long'