Skip to content

Commit 246b275

Browse files
committed
Fix
1 parent 587922b commit 246b275

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Zend/zend_alloc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1999,6 +1999,7 @@ static zend_always_inline void *zend_mm_realloc_heap(zend_mm_heap *heap, void *p
19991999
} else {
20002000
/* reallocation in-place */
20012001
ret = ptr;
2002+
ZEND_MM_POISON(ret, old_size)
20022003
ZEND_MM_UNPOISON(ret, size);
20032004
}
20042005
} else if (size <= ZEND_MM_MAX_SMALL_SIZE) {

0 commit comments

Comments
 (0)