DoS attacks are very common in Ethereum when a contract interacts with other addresses. These addresses can be either externally owned addresses or contracts. Performing validations based on these conditions can be very dangerous.
In this recipe, you will learn the pitfalls of interacting with other address and ways to avoid them. You will also learn about a design pattern that can help mitigate these issues, up to a certain point.