]> granicus.if.org Git - apache/commit
Make a copy of getenv("PATH") before storing for later use. Some
authorJeff Trawick <trawick@apache.org>
Mon, 5 Jun 2000 20:45:08 +0000 (20:45 +0000)
committerJeff Trawick <trawick@apache.org>
Mon, 5 Jun 2000 20:45:08 +0000 (20:45 +0000)
commit3983c8b6cd7e4da42a251ead8dfc1997b27aae19
treed5ca3ec32fdfa96285b826206e86d8c5a37b1f68
parenteda6e3d23ce49fe3c33fe8f0299939722b901868
Make a copy of getenv("PATH") before storing for later use.  Some
getenv() implementations use the same storage for successive calls.
CGIs on OS/390 had a bad PATH due to this.  (Believe it or not, ANSI
says getenv() can do this.)

Some similar getenv() usage was left alone as it was specific to a
certain platform, and I assume that getenv() doesn't have the "issue"
on those platforms.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85427 13f79535-47bb-0310-9956-ffa450edef68
server/util_script.c