[PHP-DEV] Zend memory manager possible left overflow in heap initialization

2015-11-02 Thread Aurélien Dudouit
Hi, I'm into the process of reviewing the Zend memory manager, and I noticed something in the allocation of the heap. I'm working on PHP 5.6.14, but nothing that could affect it has changed in 5.6.15; I'm building on Debian squeeze, 32 bits. I'm referring to Zend/zend_alloc.c:zend_mm_init() The

[PHP-DEV] zend memory manager

2011-01-24 Thread Adi Mutu
Hello, Where can I find some references to read about the Zend mm? I'm not talking about emalloc/efree (or pemalloc/pefree), i'm talking about lower level functions like zend_mm_aloc_int and zend_mm_free_int, structs like zend_mm_heap etc.I've tried looking at the sources, but it's not ver