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 Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
35 - 11 = ?
Subscribe to this entry?

 
 [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-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 23:01:27 2024 UTC