Show
Ignore:
Timestamp:
03/23/2012 09:04:14 AM (14 months ago)
Author:
moo
Message:

fix constant name handling (possible SIGSEGV)

Files:
1 modified

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')