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: [email protected] Assigned: bwoebi (profile)
Status: Closed Package: Reproducible crash
PHP Version: 7.0Git-2015-08-18 (Git) OS: Irrelevant
Private report: No CVE-ID: None
 [2015-08-18 12:57 UTC] [email protected]
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

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-08-18 12:57 UTC] [email protected]
-Assigned To: +Assigned To: bwoebi
 [2015-08-18 13:02 UTC] [email protected]
Automatic comment on behalf of [email protected]
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] [email protected]
-Status: Assigned +Status: Closed
 [2015-08-18 19:42 UTC] [email protected]
Automatic comment on behalf of [email protected]
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] [email protected]
Automatic comment on behalf of [email protected]
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] [email protected]
Automatic comment on behalf of [email protected]
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-2025 The PHP Group
All rights reserved.
Last updated: Tue Jun 10 02:01:26 2025 UTC