>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: [EMAIL PROTECTED] >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 <[EMAIL PROTECTED]> in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [automatically because of the potential for mail loops. ]
