minime icon indicating copy to clipboard operation
minime copied to clipboard

msg.data length check in MiniMeToken#fallback

Open 4000D opened this issue 5 years ago • 0 comments

MiniMeToken#fallback can also be called when function signature is not matched. This is not assumed in the implementation of the fallback function, which always calls TokenController#proxyPayment. It should check msg.data.length to differentiate intentional proxy payment from unintentional function calls (signature mismatch).

4000D avatar Jan 06 '20 06:01 4000D