mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
PERL_SYS_INIT3 was added to modperl in r1155-1158 to fix modperl on arches like hppa. This added an invalid cast which caused a segfault. If you have: const char *pArgv[]; Then pArgv will point to the same memory location as &pArgv. This pointer was then casted to (char ***) which is one level of pointers too much for this pointer. Thanks to an anonymous reporter who pointed out the crash. Thanks to pippijin for helping me understand the C++ magic. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1237 726aef4b-f618-498e-8847-2d620e286838
30 KiB
30 KiB