Skip to content

Commit 8a695a4

Browse files
committed
More poisoning
1 parent 863d62a commit 8a695a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_alloc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1552,6 +1552,7 @@ static zend_always_inline void *zend_mm_alloc_heap(zend_mm_heap *heap, size_t si
15521552
static zend_always_inline void zend_mm_free_heap(zend_mm_heap *heap, void *ptr ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC)
15531553
{
15541554
printf("Freeing %p\n", ptr);
1555+
abort();
15551556

15561557
size_t page_offset = ZEND_MM_ALIGNED_OFFSET(ptr, ZEND_MM_CHUNK_SIZE);
15571558

@@ -2062,7 +2063,6 @@ static void *zend_mm_alloc_huge(zend_mm_heap *heap, size_t size ZEND_FILE_LINE_D
20622063
static void zend_mm_free_huge(zend_mm_heap *heap, void *ptr ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC)
20632064
{
20642065
printf("Freeing huge %p\n", ptr);
2065-
abort();
20662066

20672067
size_t size;
20682068

0 commit comments

Comments
 (0)