This is an automated email from the ASF dual-hosted git repository.
FreeAndNil pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4net.git
from e633f774 update .gitignore
add 9dd998ab Fix race condition in AppenderSkeleton filter chain
modification Add lock(LockObj) to AddFilter and ClearFilters to synchronize
with FilterEvent under concurrent logging (CWE-362).
add 43d24247 Fix mutex leak in InterProcessLock.AcquireLock when file
stream is null Release acquired mutex and decrement recursiveWatch when stream
is null to prevent indefinite blocking of other processes (CWE-772)
add 3113aa8a Fix unhandled exception in AppenderSkeleton finalizer isking
process termination Wrap Close() in the finalizer with try-catch for non-fatal
exceptions and move _isClosed into a finally block to prevent repeated
finalization attempts (CWE-755)
add 2a0a1901 added unit tests
new 0cd39cb1 Fixes after AVSS scanning #298
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
...8-fix-appender-filter-chain-synchronization.xml | 11 +++
...8-fix-appender-skeleton-finalizer-exception.xml | 11 +++
.../3.3.2/298-fix-interprocesslock-mutex-leak.xml | 11 +++
src/log4net.Tests/Appender/AppenderSkeletonTest.cs | 88 ++++++++++++++++++++++
src/log4net.Tests/Appender/FileAppenderTest.cs | 32 ++++++++
src/log4net/Appender/AppenderSkeleton.cs | 54 +++++++++----
src/log4net/Appender/FileAppender.cs | 3 +
7 files changed, 195 insertions(+), 15 deletions(-)
create mode 100644
src/changelog/3.3.2/298-fix-appender-filter-chain-synchronization.xml
create mode 100644
src/changelog/3.3.2/298-fix-appender-skeleton-finalizer-exception.xml
create mode 100644 src/changelog/3.3.2/298-fix-interprocesslock-mutex-leak.xml
create mode 100644 src/log4net.Tests/Appender/AppenderSkeletonTest.cs