Browse Source

merge from trunk: fix segv on shutdown when ionCube Loader is loaded

git-svn-id: svn://svn.lighttpd.net/xcache/branches/1.3@701 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
1.3
Xuefer 11 years ago
parent
commit
145cb345e0
  1. 1
      ChangeLog
  2. 1
      NEWS
  3. 8
      xcache.c

1
ChangeLog

@ -1,6 +1,7 @@
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

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

8
xcache.c

@ -2965,10 +2965,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