• Awemany's avatar
    bitcoin-tx: Fix missing range check · cc4c4a2a
    Awemany authored
    The number of arguments is not checked MutateTxAddOutAddr(..), meaning
    that
    
    > ./bitcoin-tx -create outaddr=
    
    accessed the vStrInputParts vector beyond its bounds.
    
    This also includes work by jnewbery to check the inputs for
    MutateTxAddPubKey()
    
    Github-Pull: #10130
    Rebased-From: eb66bf9b
    cc4c4a2a
bitcoin-tx.cpp 28.2 KB