File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -3517,15 +3517,15 @@ static void* poison_malloc(size_t size ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC)
35173517 if (SIZE_MAX - heap -> debug .padding * 2 < size ) {
35183518 zend_mm_panic ("Integer overflow in memory allocation" );
35193519 }
3520- size_t sizePlusPadding = size + heap -> debug .padding * 2 ;
3520+ size_t size_plus_padding = size + heap -> debug .padding * 2 ;
35213521
3522- void * ptr = zend_mm_alloc_heap (heap , sizePlusPadding ZEND_FILE_LINE_RELAY_CC ZEND_FILE_LINE_ORIG_RELAY_CC );
3522+ void * ptr = zend_mm_alloc_heap (heap , size_plus_padding ZEND_FILE_LINE_RELAY_CC ZEND_FILE_LINE_ORIG_RELAY_CC );
35233523
35243524 if (EXPECTED (ptr )) {
35253525 if (heap -> debug .poison_alloc ) {
3526- ZEND_MM_UNPOISON (ptr , sizePlusPadding );
3527- memset (ptr , heap -> debug .poison_alloc_value , sizePlusPadding );
3528- ZEND_MM_POISON (ptr , sizePlusPadding );
3526+ ZEND_MM_UNPOISON (ptr , size_plus_padding );
3527+ memset (ptr , heap -> debug .poison_alloc_value , size_plus_padding );
3528+ ZEND_MM_POISON (ptr , size_plus_padding );
35293529 }
35303530
35313531 ptr = (char * )ptr + heap -> debug .padding ;
You can’t perform that action at this time.
0 commit comments