Changeset 698


Ignore:
Timestamp:
2011-02-08T06:13:22+01:00 (4 years ago)
Author:
moo
Message:

fix segv on shutdown when ionCube Loader is loaded

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r697 r698  
    1313======== 
    1414 * fix win32 build against win32 native gnu tools 
     15 * compatibility fix: fix segv on shutdown when ionCube Loader is loaded 
    1516 
    16171.3.1 2010-11-27 
  • trunk/NEWS

    r697 r698  
    55======== 
    66 * win32 build fix 
     7 * improve compatibility with ionCube Loader 
    78 
    891.3.1 2010-11-27 
  • trunk/xcache.c

    r687 r698  
    35423542    if (xc_zend_extension_faked) { 
    35433543        zend_extension *ext = zend_get_extension(XCACHE_NAME); 
    3544         if (ext->shutdown) { 
    3545             ext->shutdown(ext); 
    3546         } 
    3547         xc_zend_remove_extension(ext); 
     3544        if (ext) { 
     3545            if (ext->shutdown) { 
     3546                ext->shutdown(ext); 
     3547            } 
     3548            xc_zend_remove_extension(ext); 
     3549        } 
    35483550    } 
    35493551    UNREGISTER_INI_ENTRIES(); 
Note: See TracChangeset for help on using the changeset viewer.