You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Matt Sicker (JIRA)" <ji...@apache.org> on 2014/08/26 14:52:57 UTC
[jira] [Created] (LOG4J2-802) Marker.isInstanceOf may not terminate
if parent Markers form a cycle
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: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org