Bug #75810 [Fbk->Opn]: getenv with valid varname crashes ntdll.dll
| From: | ab@php.net | Date: | Sat, 13 Jan 2018 21:30:43 +0000 |
| Subject: | Bug #75810 [Fbk->Opn]: getenv with valid varname crashes ntdll.dll | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-213533@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
Updated by: ab@php.net
Reported by: laurinkeithdavis at gmail dot com
Summary: getenv with valid varname crashes ntdll.dll
-Status: Feedback
+Status: Open
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:
Thanks for the checks! Waiting for the feedback in other tickets yet. The fix should be available in
RCs.
Thanks.
Previous Comments:
------------------------------------------------------------------------
[2018-01-13 17:04:57] laurinkeithdavis at gmail dot com
Tested this snapshot:
7.1.14-dev Revision: r05c4f72 (January 13 2018, 16:37:57)
Works!
------------------------------------------------------------------------
[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."
------------------------------------------------------------------------
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