]> granicus.if.org Git - php/commit
Added a SG(server_context) NULL check to php_apache_getenv.
authorBrian France <bfrance@php.net>
Tue, 28 Jun 2005 16:34:18 +0000 (16:34 +0000)
committerBrian France <bfrance@php.net>
Tue, 28 Jun 2005 16:34:18 +0000 (16:34 +0000)
commit3137e1e4228a73b8dd19c6126ea856612734c010
treed5d0eb6c3f0faf56493105a152090a6f8be7a1dc
parent8c0dc5e88757f20799395c37f9c7f3159a8e428b
Added a SG(server_context) NULL check to php_apache_getenv.

This can get called when "<key> = ${<key>}:/foo" is used in a .ini file, but <key> has not be set yet.
        You will end up with a value of ":/foo", but at least it will not crash now.
NEWS
sapi/apache/mod_php5.c