Ignore:
Timestamp:
2012-03-23T09:04:14+01:00 (3 years ago)
Author:
moo
Message:

fix constant name handling (possible SIGSEGV)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/processor/processor.m4

    r825 r828  
    253253    DISPATCH(int, flags) 
    254254    DISPATCH(uint, name_len) 
    255     pushdef(`emalloc', `malloc($1)') 
    256     pushdef(`ecalloc', `calloc($1, $2)') 
     255    pushdef(`estrndup', `zend_strndup') 
    257256    PROC_ZSTRING_N(, name, name_len) 
    258     popdef(`ecalloc') 
    259     popdef(`emalloc') 
     257    popdef(`estrndup') 
    260258    DISPATCH(int, module_number) 
    261259') 
Note: See TracChangeset for help on using the changeset viewer.