Package: php5
Version: 5.6.5+dfsg-1

This is continuation of bug #753851. This bug still exists.

There is simple script that causes this issue:

<?php
function crash()
{
    $notDefined[$i] = 'test';
}

function error_handler() { return false; }

set_error_handler('error_handler');
crash();
echo "made it once\n";
crash();
echo "ok\n";
?>

The bug is already reported to PHP here: https://bugs.php.net/bug.php?id=67314

There is simple work around to increment (executor_globals.uninitialized_zval.refcount__gc) reference counter in zend_error() function if error handler is set.

This bug was reproduced on the current Debian Jessie version, php5 5.6.5+dfsg-1 and apache 2.4.10-3.

--
Best regards
Arkadiusz Bubała
Open-E Poland Sp. z o.o.
www.open-e.com


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to