From bc873b7b1df95e4c4ba7722c4340e3a5aa4aebf0 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Mon, 19 Feb 2007 14:13:35 +0000 Subject: [PATCH] Initialize "retval" on each request --- sapi/cgi/cgi_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c index 16a7692fbac..4d6c5a83653 100644 --- a/sapi/cgi/cgi_main.c +++ b/sapi/cgi/cgi_main.c @@ -1615,6 +1615,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); }