Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 980 Bytes

External calls in loop can lead to denial of service.md

File metadata and controls

28 lines (24 loc) · 980 Bytes

Several function calls are made in unbounded loops.

This pattern is error-prone as it can trap the contracts due to the gas limitations or failed transactions.

Recommendation:

Short term, review all the loops mentioned above and either: 1. allow iteration over part of the loop, or 2. remove elements. Long term, subscribe to Crytic.io to review external calls in loops. Crytic catches bugs of this type.


Slide Screenshot

039.jpg


Slide Text

  • ToB Audit Origin Dollar Finding 20
  • Denial-of-Service
  • High Severity
  • External Calls
  • Unbounded Loops
  • Bound Loops

References


Tags