Bug #79995 [PATCH]: Possible pointer or memory corruption

From: Date: Thu, 20 Aug 2020 08:47:27 +0000
Subject: Bug #79995 [PATCH]: Possible pointer or memory corruption
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-228687@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
 Patch added by:     cmb@php.net
 Reported by:        mic at kwayisi dot org
 Summary:            Possible pointer or memory corruption
 Status:             Verified
 Type:               Bug
 Package:            Variables related
 Operating System:   Windows
 PHP Version:        8.0.0beta2
 Block user comment: N
 Private report:     N

 New Comment:

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


Previous Comments:
------------------------------------------------------------------------
[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


Thread (6 messages)

« previous php.bugs (#228687) next »