You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//script of CallSomeContract()
PUSH 1 // this hide the parameter b of verify()
PUSH 2 // this hide the parameter a of verify()
RET
We expect CallSomeContract() to return no value. But if it maliciously returns 2 values, then these values will be automatically copied onto our stack, causing us to return wrong results. Original posted at neo-project/neo#1680 (comment)
Deason
For security reason, it's not safe to call other contract without restrict on the return stack.
We expect CallSomeContract() to return no value. But if it maliciously returns 2 values, then these values will be automatically copied onto our stack, causing us to return wrong results. Original posted at neo-project/neo#1680 (comment)
Solution
Maybe we can use the following format:---------------------------- update 11 June --------------------------------
Using the following format:
original discussed at neo-project/neo#1680 (comment)
The text was updated successfully, but these errors were encountered: