Type consistency in psbt_parse_rawtx, and some other hardenings
This commit hardens a Bitcoin transaction parser in Ledger's app. It changes some numeric fields to safer types, adds bounds checks on transaction counts and sizes, rejects extra trailing bytes after a transaction, checks a previously-igno…
1af86279by Salvatore Ingala+66−173 files