mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
avoid pointer truncation
This commit is contained in:
parent
05496c7312
commit
5334d53499
@ -1951,7 +1951,7 @@ phpdbg_out:
|
||||
/* hack to restore mm_heap->use_custom_heap in order to receive memory leak info */
|
||||
if (use_mm_wrappers) {
|
||||
/* ASSUMING that mm_heap->use_custom_heap is the first element of the struct ... */
|
||||
*(int *) mm_heap = 0;
|
||||
*(size_t *) mm_heap = 0;
|
||||
}
|
||||
zend_try {
|
||||
php_request_shutdown(NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user