You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-dev@logging.apache.org by "Joe (JIRA)" <ji...@apache.org> on 2016/04/25 12:23:12 UTC
[jira] [Created] (LOG4NET-512) Thread safety issue in Hierarchy.cs
Joe created LOG4NET-512:
---------------------------
Summary: Thread safety issue in Hierarchy.cs
Key: LOG4NET-512
URL: https://issues.apache.org/jira/browse/LOG4NET-512
Project: Log4net
Issue Type: Bug
Components: Core
Affects Versions: 1.2.15
Reporter: Joe
Priority: Minor
>From inspecting the source code I believe there is a threading bug in the Hierarchy class. Both of the methods Exists and GetCurrentLoggers access the internal hashtable m_ht without locking.
Impact is minor as both these methods are probably rarely called by third party code, and since they do not modify state, the worst that can happen is an unexpected exception.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)