#32957 [Fbk->Opn]: putenv("A=A");putenv("A="); CRASH

From: Date: Thu, 05 May 2005 20:09:04 +0000
Subject: #32957 [Fbk->Opn]: putenv("A=A");putenv("A="); CRASH
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-78672@lists.php.net to get a copy of this message
ID: 32957 Updated by: wez@php.net Reported By: ukm at servplus dot ru -Status: Feedback +Status: Open Bug Type: Reproducible crash Operating System: win xp sp2 PHP Version: 4.3.11 New Comment: tony2001: ms libc putenv function does have at least one segfault bug that we have a workaround for. Someone needs to check a debug build of 4.3 on windows; preferably someone with MS VC 6 installed, as the libc has changed between releases. I'd check it myself, but I only have vs.net installed, so it would be a bogus check. Previous Comments: ------------------------------------------------------------------------ [2005-05-05 19:38:00] tony2001@php.net Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. Can't reproduce under Linux. ------------------------------------------------------------------------ [2005-05-05 16:22:00] ukm at servplus dot ru Description: ------------ During the execution on this fragment with php.exe this application error occures: The instruction at "0x..." referenced memory at "0x....". The memory could not be "written". Reproduce code: --------------- <?php for($i = 0; $i < 100; ++$i) { putenv("VAR=VALUE"); putenv("VAR="); } ?> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=32957&edit=1

« previous php.bugs (#78672) next »