Changeset 302

Show
Ignore:
Timestamp:
03/07/07 12:24:57 (1 year ago)
Author:
bart
Message:

Apply the patch from #244 which causes heap corruption.

Files:

Legend:

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

    r300 r302  
     12007-03-07  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be> 
     2 
     3        * Apply the patch from #244 which causes heap corruption. 
     4 
    152007-02-15  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be> 
    26 
  • eaccelerator/trunk/shm.c

    r286 r302  
    112112        php_serialize_data_t var_hash; 
    113113        smart_str buf = {0}; 
    114         result = (zval *)emalloc(sizeof(result)); 
     114        result = (zval *)emalloc(sizeof(zval)); 
    115115 
    116116        PHP_VAR_SERIALIZE_INIT(var_hash);