Bug #72397 [Wfx]: php_output_handler_init may cause null pointer dereference
Edit report at https://bugs.php.net/bug.php?id=72397&edit=1
ID: 72397
Updated by: laruence@php.net
Reported by: shm@php.net
Summary: php_output_handler_init may cause null pointer
dereference
Status: Wont fix
Type: Bug
Package: Reproducible crash
Operating System: Linux
PHP Version: 7.0Git-2016-06-13 (Git)
Block user comment: N
Private report: N
New Comment:
wrong close reason was selected :<
Previous Comments:
------------------------------------------------------------------------
[2016-06-15 15:46:50] laruence@php.net
We are sorry, but we can not support PHP 4 related problems anymore.
------------------------------------------------------------------------
[2016-06-15 09:59:39] shm@php.net
So maybe we should wrap allocator to catch cases when malloc returns NULL? If you don't think
so, then feel free to close it.
------------------------------------------------------------------------
[2016-06-15 07:02:50] laruence@php.net
not sure it worthy. since, USE_ZEND_ALLOC=0 should be only for debug purpose :)
------------------------------------------------------------------------
[2016-06-14 08:33:53] shm@php.net
Seems that you're right, maybe we should point out in documentation that magic things can
happen if you use USE_ZEND_ALLOC=0
------------------------------------------------------------------------
[2016-06-14 00:39:00] laruence@php.net
I am not sure this is a bug, since USE_ZEND_ALLOC=0 should not be a case we should fix
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=72397
--
Edit this bug report at https://bugs.php.net/bug.php?id=72397&edit=1
Thread (7 messages)