Recursive Call

Definition ∞ A recursive call occurs when a function or procedure repeatedly invokes itself during its execution. This programming technique is common in computer science for solving problems that can be broken down into smaller, self-similar subproblems. In smart contract development, improper handling of recursive calls can lead to vulnerabilities. It is a fundamental concept in algorithmic design.
Context ∞ In blockchain and smart contract security, recursive call vulnerabilities are a critical concern. Exploits, such as the infamous DAO hack, demonstrated how uncontrolled recursive calls could drain funds from smart contracts. Developers prioritize careful design and auditing to prevent reentrancy attacks and other issues stemming from improper recursive execution, ensuring the integrity of decentralized applications.