Unable to remove operator at index 0 #142
Labels
1 (Low Risk)
Assets are not at risk. State handling, function incorrect as to spec, issues with comments
bug
Something isn't working
duplicate
This issue or pull request already exists
Handle
gzeon
Vulnerability details
Impact
Unable to remove operator at index 0
Proof of Concept
https://github.com/code-423n4/2021-11-nested/blob/f646002b692ca5fa3631acfff87dda897541cf41/contracts/NestedFactory.sol#L84
revert when i == 0
Recommended Mitigation Steps
Remove the require statement as if not found it would revert due to OOB in L81;
or rewrite as follow to yield proper revert
The text was updated successfully, but these errors were encountered: