Browse Source

fix segv on shutdown when ionCube Loader is loaded

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@698 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 11 years ago
parent
commit
d6415196ef
  1. 1
      ChangeLog
  2. 1
      NEWS
  3. 8
      xcache.c

1
ChangeLog

@ -12,6 +12,7 @@ ChangeLog
1.3.2 2011-??-??
========
* fix win32 build against win32 native gnu tools
* compatibility fix: fix segv on shutdown when ionCube Loader is loaded
1.3.1 2010-11-27
========

1
NEWS

@ -4,6 +4,7 @@
1.3.2 2011-??-??
========
* win32 build fix
* improve compatibility with ionCube Loader
1.3.1 2010-11-27
========

8
xcache.c

@ -3541,10 +3541,12 @@ static PHP_MSHUTDOWN_FUNCTION(xcache)
if (xc_zend_extension_faked) {
zend_extension *ext = zend_get_extension(XCACHE_NAME);
if (ext->shutdown) {
ext->shutdown(ext);
if (ext) {
if (ext->shutdown) {
ext->shutdown(ext);
}
xc_zend_remove_extension(ext);
}
xc_zend_remove_extension(ext);
}
UNREGISTER_INI_ENTRIES();

Loading…
Cancel
Save