ton-blockchain / multisig-contract-v2

Multiowner wallet
54 stars 19 forks source link

Potential infinite execution of function get_text_comment #37

Closed SubFactorial closed 6 months ago

SubFactorial commented 6 months ago

If it is possible cyclic references in reading in_msg_body in function get_text_comment (order.func lines: 63-85) then smart contract may hang up. Possible solution: add iteration counter and stop processing after some number.

tolya-yanot commented 6 months ago

There are gas limits and cell depth limits in the blockchain