Changeset 58 in svn for trunk/processor/hashtable.m4


Ignore:
Timestamp:
2006-06-03T04:30:58+02:00 (9 years ago)
Author:
Xuefer
Message:

refix as in the example from http://www.hardened-php.net/eaccelerator-0.9.3-hash-fix.patch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/processor/hashtable.m4

    r50 r58  
    7575
    7676#if defined(HARDENING_PATCH_HASH_PROTECT) && HARDENING_PATCH_HASH_PROTECT
    77         DISPATCH(unsigned int, canary)
     77        IFASM(`dst->canary = zend_hash_canary; DONE(canary)', `
     78        dnl elseif
     79            IFRESTORE(`dst->canary = zend_hash_canary; DONE(canary)', `
     80                dnl else
     81                DISPATCH(unsigned int, canary)
     82            ')
     83        ')
    7884#endif
    7985        DISPATCH(uint, nTableSize)
Note: See TracChangeset for help on using the changeset viewer.