Submitted by gpersoon
The function wrapCall is not completely safe for all possible ERC20 contracts.
If the returnData.length is larger than 1, the abi.decode(returnData, (bool)); will fail. Which means the interactions with that ERC20 contract will fail. Although this is unlikely, it is easy to protect against it.
Recommend changing
to:
LayneHaber (Connext) confirmed and patched:
