mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
WebModules use CHTTPSock for the HTTP server. That class requires a CModule instance for working since it's based on CSocket. This was solved by creating a fake module instance which is destroyed when the socket is destroyed. The problem here was that CSocket's destructor tried to access that module instance which was already destroyed resulting in a use-after-free. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1824 726aef4b-f618-498e-8847-2d620e286838
3.9 KiB
3.9 KiB