Merge pull request #535 from crytic/dev-try-catch

Prevent infinite loop on nested try/catch/if/then/else
pull/537/head
Feist Josselin 4 years ago committed by GitHub
commit 7f85eb3da4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      slither/solc_parsing/declarations/function.py

@ -995,6 +995,7 @@ class FunctionSolc:
link_nodes(node, end_node)
else:
for son in node.sons:
if son != end_node:
self._fix_catch(son, end_node)
def _add_param(self, param: Dict) -> LocalVariableSolc:

Loading…
Cancel
Save