Null bytes in anonymous class names
| From: | Niklas Keller | Date: | Thu, 05 Nov 2015 14:21:46 +0000 |
| Subject: | Null bytes in anonymous class names | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-89079@lists.php.net to get a copy of this message | ||
Hello,
I discovered today that anonymous class names contain a null byte right
after "class@anonymous". I don't think class names should contain
non-printable characters.
How about removing that null byte?
https://3v4l.org/QUKpV
https://github.com/php/php-src/blob/da8e6ec4a5063d9f60f83f43c55bc17d015cac8b/Zend/zend_compile.c#L5207
Regards, Niklas