From 328d242122f60f640e8ca44c605a135729281f31 Mon Sep 17 00:00:00 2001 From: onefang Date: Wed, 15 Dec 2021 14:12:32 +1000 Subject: Update log4net to avoid log4shell security hole. Alledgedly. --- OpenSim/Region/Application/Application.cs | 3 +++ bin/log4net.dll | Bin 266240 -> 270336 bytes 2 files changed, 3 insertions(+) diff --git a/OpenSim/Region/Application/Application.cs b/OpenSim/Region/Application/Application.cs index 7c3b6c5..d6c449c 100644 --- a/OpenSim/Region/Application/Application.cs +++ b/OpenSim/Region/Application/Application.cs @@ -103,6 +103,9 @@ namespace OpenSim else { XmlConfigurator.Configure(); +//// The fixed version of log4net doesn't support this, but the broken one does. FFS! +//// m_log.InfoFormat("[OPENSIM MAIN]: configured log4net {0} using default OpenSim.exe.config", log4net.AssemblyInfo.Version); +//// m_log.Info("[OPENSIM MAIN]: " + log4net.AssemblyInfo.Info); m_log.Info("[OPENSIM MAIN]: configured log4net using default OpenSim.exe.config"); } diff --git a/bin/log4net.dll b/bin/log4net.dll index 7740fbd..064f420 100644 Binary files a/bin/log4net.dll and b/bin/log4net.dll differ -- cgit v1.1