Return-Path: Delivered-To: apache-bugdb-archive@hyperreal.org Received: (qmail 14499 invoked by uid 6000); 3 Jun 1998 10:20:09 -0000 Received: (qmail 14445 invoked by uid 2001); 3 Jun 1998 10:20:00 -0000 Received: (qmail 13954 invoked by uid 2012); 3 Jun 1998 10:13:48 -0000 Message-Id: <19980603101348.13953.qmail@hyperreal.org> Date: 3 Jun 1998 10:13:48 -0000 From: Martin Maurer Reply-To: maurerm@informatik.tu-muenchen.de To: apbugs@hyperreal.org X-Send-Pr-Version: 3.2 Subject: os-windows/2342: environment variables buggy Sender: apache-bugdb-owner@apache.org Precedence: bulk >Number: 2342 >Category: os-windows >Synopsis: environment variables buggy >Confidential: no >Severity: critical >Priority: medium >Responsible: apache >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Wed Jun 3 03:20:00 PDT 1998 >Last-Modified: >Originator: maurerm@informatik.tu-muenchen.de >Organization: apache >Release: 1.3b7 >Environment: os-windows >Description: All environment variables used for cgi-bin (e.g. PATH_INFO, REMOTE_ADR, QUERY_STRING) are buggy. They are only 4 bytes big, seems to be a pointer instead of the environment variable and its content. >How-To-Repeat: Create a cgi-bin batch file: #!c:\command.com set set hello=abcd set dir and call it ! You can see, "set" is working correct, because hello is inserted. But all other variables are buggy... >Fix: >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, ] [you need to include in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [automatically because of the potential for mail loops. ]