Bug #79995 [Ver->Csd]: Possible pointer or memory corruption
| From: | cmb@php.net | Date: | Tue, 01 Sep 2020 11:11:58 +0000 |
| Subject: | Bug #79995 [Ver->Csd]: Possible pointer or memory corruption | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-228834@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=79995&edit=1
ID: 79995
Updated by: cmb@php.net
Reported by: mic at kwayisi dot org
Summary: Possible pointer or memory corruption
-Status: Verified
+Status: Closed
Type: Bug
Package: Variables related
Operating System: Windows
PHP Version: 8.0.0beta2
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
Fixed as <https://github.com/php/php-src/commit/2022f2e5c905995c79fa08bb6955777573f32669>.
Previous Comments:
------------------------------------------------------------------------
[2020-08-20 08:47:27] cmb@php.net
The following pull request has been associated:
Patch Name: Fix nullsafe operator on delayed oplines
On GitHub: https://github.com/php/php-src/pull/5994
Patch: https://github.com/php/php-src/pull/5994.patch
------------------------------------------------------------------------
[2020-08-19 08:19:10] cmb@php.net
See <https://3v4l.org/dQXEi>.
------------------------------------------------------------------------
[2020-08-19 01:37:56] danack@php.net
Warning: Undefined variable $@��� in /in/dQXEi on line 3
Is the actual error.
------------------------------------------------------------------------
[2020-08-19 01:35:55] mic at kwayisi dot org
Bug is also present in the latest beta release.
------------------------------------------------------------------------
[2020-08-19 01:33:02] mic at kwayisi dot org
Description:
------------
PHP is not able to produce the correct variable name.
Test script:
---------------
$foo->bar?->baz;
Expected result:
----------------
PHP Warning: Undefined variable $foo in <file> on line <line>
Actual result:
--------------
PHP Warning: Undefined variable $<gibberish> in <file> on line <line>
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=79995&edit=1