Date: Sat, 15 Nov 2008 22:56:40 +0000 (UTC) From: Martin Wilke <miwi@FreeBSD.org> To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: ports/irc/znc Makefile Message-ID: <200811152256.mAFMuew9024352@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
miwi 2008-11-15 22:56:40 UTC FreeBSD ports repository Modified files: irc/znc Makefile Log: - Add patch from upstream to fix segfault in modperl on x86 Note: Fix a crash bug when modperl was loaded on some arches 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. Reported by: Elvis Stansvik <elvstone@gmail.com> Revision Changes Path 1.6 +1 -0 ports/irc/znc/Makefile
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811152256.mAFMuew9024352>