Bug #75810 [Com]: getenv with valid varname crashes ntdll.dll
| From: | laurinkeithdavis at gmail dot com | Date: | Sat, 13 Jan 2018 17:04:58 +0000 |
| Subject: | Bug #75810 [Com]: getenv with valid varname crashes ntdll.dll | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-213529@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=75810&edit=1
ID: 75810
Comment by: laurinkeithdavis at gmail dot com
Reported by: laurinkeithdavis at gmail dot com
Summary: getenv with valid varname crashes ntdll.dll
Status: Feedback
Type: Bug
Package: PHP options/info functions
Operating System: Windows 10 x64 Pro
PHP Version: 7.1.13
Block user comment: N
Private report: N
New Comment:
Tested this snapshot:
7.1.14-dev Revision: r05c4f72 (January 13 2018, 16:37:57)
Works!
Previous Comments:
------------------------------------------------------------------------
[2018-01-13 14:16:55] ab@php.net
I've pushed a fix for this issue, could you check the latest snap, please?
Thanks.
------------------------------------------------------------------------
[2018-01-12 21:36:44] laurinkeithdavis at gmail dot com
Oh, duh. :)
https://gist.github.com/laurin1/a7ea63c2b8bc68a845a1b50e01c9c173
------------------------------------------------------------------------
[2018-01-12 21:29:40] ab@php.net
You could pastebin it somewhere and just put the link, otherwise it'd be anyway too big for a
comment.
Thanks.
------------------------------------------------------------------------
[2018-01-12 20:32:31] laurinkeithdavis at gmail dot com
Ah, I searched for the bug using 7.1.13, but didn't think about the fact that 7.2.1 was also
just released. Should I move my notes to that bug?
PHP 7.1.3 - VC14 x86 Non Thread Safe (2018-Jan-04 00:43:34) (from windows.php.net)
I tried to post my php.ini file, but I get this message when I do:
"Your comment looks like SPAM by its content. Please consider rewording."
------------------------------------------------------------------------
[2018-01-12 20:23:21] ab@php.net
Thanks for the report. Looks pretty much like bug #75794. What is your exact PHP. Please post your
php.ini. If possible, also a crash dump.
Thanks.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=75810
--
Edit this bug report at https://bugs.php.net/bug.php?id=75810&edit=1