Skip to content

Commit 9006b8d

Browse files
committed
More poisoning
1 parent 5559d76 commit 9006b8d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Zend/zend_alloc.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2058,10 +2058,13 @@ static void *zend_mm_alloc_huge(zend_mm_heap *heap, size_t size ZEND_FILE_LINE_D
20582058
#endif
20592059
return ptr;
20602060
}
2061+
#include <execinfo.h>
20612062

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);
2066+
void *buffer[1000];
2067+
backtrace_symbols_fd(buffer, 1000, 1);
20652068

20662069
size_t size;
20672070

0 commit comments

Comments
 (0)