From: Dmitry Stogov Date: Mon, 19 Feb 2007 14:13:02 +0000 (+0000) Subject: Initialize "retval" on each request X-Git-Tag: php-5.2.2RC1~368 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2a170f0584175e39d86d3dc77cf28b0d8c32e078;p=php Initialize "retval" on each request --- diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c index 68ac6807fc..830dee4ccf 100644 --- a/sapi/cgi/cgi_main.c +++ b/sapi/cgi/cgi_main.c @@ -1694,6 +1694,7 @@ consult the installation file that came with this distribution, or visit \n\ 1. we are running from shell and got filename was there 2. we are running as cgi or fastcgi */ + retval = FAILURE; if (cgi || SG(request_info).path_translated) { retval = php_fopen_primary_script(&file_handle TSRMLS_CC); }