From apwww@hyperreal.org Thu Aug 21 00:06:40 1997 Received: (from apwww@localhost) by hyperreal.org (8.8.5/8.8.5) id AAA07546; Thu, 21 Aug 1997 00:06:40 -0700 (PDT) Message-Id: <199708210706.AAA07546@hyperreal.org> Date: Thu, 21 Aug 1997 00:06:40 -0700 (PDT) From: Ville Alkkiomaki Reply-To: ville.alkkiomaki@tele.fi To: apbugs@hyperreal.org Subject: Apache will crash if cgi-bins are called with parameters without ='s X-Send-Pr-Version: 3.2 >Number: 1030 >Category: os-windows >Synopsis: Apache will crash if cgi-bins are called with parameters without ='s >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: closed >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Thu Aug 21 00:10:01 1997 >Last-Modified: Thu Jan 22 07:28:37 PST 1998 >Originator: ville.alkkiomaki@tele.fi >Organization: >Release: 1.3a1 >Environment: WinNT 4.0, Visual C++ 4.2 >Description: Apache will crash if cgi-bins are called with parameters without ='s >How-To-Repeat: Try something like http://localhost/cgi-bin/test?juttu >Fix: change line 659 from util_script.c as follows: ... else { if (is_exe || is_binary) { pid = spawnve(_P_NOWAIT, r->filename, create_argv(r->pool, argv0, NULL, NULL, r->args, (void *)NULL), env); ... to: else { if (is_exe || is_binary) { pid = spawnve(_P_NOWAIT, r->filename, create_argv(r->pool, NULL, NULL, NULL, argv0, r->args), env); .. >Audit-Trail: Category-Changed-From-To: general-os-windows Category-Changed-By: dgaudet Category-Changed-When: Thu Sep 18 12:55:47 PDT 1997 State-Changed-From-To: open-closed State-Changed-By: pcs State-Changed-When: Wed Oct 22 05:54:09 PDT 1997 State-Changed-Why: Your patch fixes the problem, and has been applied. So the problem will be fixed in the next Apache beta release. Release-Changed-From-To: 1.3a1 (WinNT-1.3a1 Release-Changed-By: coar Release-Changed-When: Thu Jan 22 07:28:36 PST 1998 >Unformatted: