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 (profile)
Status: Closed Package: Reproducible crash
PHP Version: 7.0Git-2015-08-18 (Git) OS: Irrelevant
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: bwoebi@php.net
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2024 The PHP Group
All rights reserved.
Last updated: Tue Dec 03 17:01:29 2024 UTC