- 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>
This commit is contained in:
Martin Wilke 2008-11-15 22:56:40 +00:00
parent 9e3b80cf09
commit dcf0d02873
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=222901

View file

@ -7,6 +7,7 @@
PORTNAME= znc
PORTVERSION= 0.060
PORTREVISION= 1
CATEGORIES= irc ipv6
MASTER_SITES= SF