Mikhail Efremov created IGNITE-28026:
----------------------------------------

             Summary: Restrict unwrap cause methods look up depth
                 Key: IGNITE-28026
                 URL: https://issues.apache.org/jira/browse/IGNITE-28026
             Project: Ignite
          Issue Type: Improvement
            Reporter: Mikhail Efremov


*Description*

Methods in {{ExceptionUtils}} are using {{while}} loops that may be potentially 
infinite because of recursive cause structures. Safer approach is to restrict 
such loops with some finite step count.

*Motivation*

We shouldn't get {{StackOverflowException}} or stuck in infinite while loop on 
exception handling.

*Definition of Done*

Corresponding cause looking up methods that are using {{while}} loops inside 
are restricted now by an upper border value like 20.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to