Matt Sicker created LOG4J2-802:
----------------------------------
Summary: Marker.isInstanceOf may not terminate if parent Markers
form a cycle
Key: LOG4J2-802
URL: https://issues.apache.org/jira/browse/LOG4J2-802
Project: Log4j 2
Issue Type: Bug
Components: API
Affects Versions: 2.0.2
Reporter: Matt Sicker
Priority: Minor
Say I have a marker A which has parents B and C. Say marker B has the parent A.
Now suppose I'm checking if A is an instance of C. Depending on which order we
added B and C to A, we may recurse down the B path first which would give us A
ad infinitum.
Now the way the API Markers are written shouldn't allow such a scenario to
happen. However, such a scenario may be possible with user-defined Markers. Due
to the theoretical nature of this problem, I think this is a rather minor issue.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]