In the original implementation, if the external call of ICalledContract(ballot.address1).callFromDAO( ballot.number1 ) reverts, it could result in the CALL_CONTRACT ballot not being finalized.
Mitigation
commit 5f1a520
The mitigation wrapped callFromDAO() in a try/catch block. The CALL_CONTRACT ballot can be finalized no matter the external call callFromDAO() reverts or not.
The original issue was resolved.
Lines of code
Vulnerability details
Comments
In the original implementation, if the external call of
ICalledContract(ballot.address1).callFromDAO( ballot.number1 )
reverts, it could result in theCALL_CONTRACT
ballot not being finalized.Mitigation
commit 5f1a520 The mitigation wrapped
callFromDAO()
in a try/catch block. TheCALL_CONTRACT
ballot can be finalized no matter the external callcallFromDAO()
reverts or not. The original issue was resolved.Conclusion
Confirmed