php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #70293 Crash with specific assertions and zend.assertions=-1
Submitted: 2015-08-18 12:57 UTC Modified: 2015-08-18 12:57 UTC
From: bwoebi@php.net Assigned: bwoebi
Status: Closed Package: Reproducible crash
PHP Version: 7.0Git-2015-08-18 (Git) OS: Irrelevant
Private report: No CVE-ID:
 [2015-08-18 12:57 UTC] bwoebi@php.net
Description:
------------
Regression introduced by http://git.php.net/?p=php-src.git;a=commit;h=dbd8edbbd08fbb2906ee9b540348b340715b5dbe causes crash with zend.assertions=-1

Test script:
---------------
function f() {
    assert(@$a ?: 1);
    echo "OK";
};
f();

Expected result:
----------------
OK

Actual result:
--------------
Crash (Null pointer dereference)

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-08-18 12:57 UTC] bwoebi@php.net
-Assigned To: +Assigned To: bwoebi
 [2015-08-18 13:02 UTC] bwoebi@php.net
Automatic comment on behalf of bobwei9@hotmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=34834c58fac070fe9fd8b0e595f6fad7993a3c68
Log: Fixed bug #70293 (Crash with specific assertions and zend.assertions=-1)
 [2015-08-18 13:02 UTC] bwoebi@php.net
-Status: Assigned +Status: Closed
 [2015-08-18 19:42 UTC] ab@php.net
Automatic comment on behalf of bobwei9@hotmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=ab57205019edcd73d47b474337337e44fdcac25c
Log: Fixed bug #70293 (Crash with specific assertions and zend.assertions=-1)
 [2015-09-03 18:10 UTC] ab@php.net
Automatic comment on behalf of bobwei9@hotmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=34834c58fac070fe9fd8b0e595f6fad7993a3c68
Log: Fixed bug #70293 (Crash with specific assertions and zend.assertions=-1)
 [2016-07-20 11:37 UTC] davey@php.net
Automatic comment on behalf of bobwei9@hotmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=34834c58fac070fe9fd8b0e595f6fad7993a3c68
Log: Fixed bug #70293 (Crash with specific assertions and zend.assertions=-1)
 
PHP Copyright © 2001-2017 The PHP Group
All rights reserved.
Last updated: Sun Apr 30 22:01:36 2017 UTC