Changeset 126

Show
Ignore:
Timestamp:
08/03/05 10:55:41 (3 years ago)
Author:
zoeloelip
Message:

Included patch from the hardened php guys to make eA work

with hardened php.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • eaccelerator/trunk/ChangeLog

    r124 r126  
     12005-08-03 Bart Vanbrabant <bart.vanbrabant at zoeloelip.be> 
     2        * Included patch from the hardened php guys to make eA work 
     3          with hardened php. 
     4 
    152005-07-11 Bart Vanbrabant <bart.vanbrabant at zoeloelip.be> 
    26        * ea_store.c and ea_restore.c functions clean up 
  • eaccelerator/trunk/ea_restore.c

    r125 r126  
    4949 
    5050extern zend_extension *ZendOptimizer; 
     51#if HARDENING_PATCH_HASH_PROTECT 
     52extern unsigned int zend_hash_canary; 
     53#endif 
    5154 
    5255#ifdef ZEND_ENGINE_2 
     
    295298        target->pListHead = NULL; 
    296299        target->pListTail = NULL; 
     300#if HARDENING_PATCH_HASH_PROTECT 
     301    target->canary = zend_hash_canary; 
     302#endif 
    297303 
    298304        p = source->pListHead;