From: Stanislav Malyshev Date: Wed, 15 Nov 2000 09:36:21 +0000 (+0000) Subject: Fix crash (#7802) X-Git-Tag: php-4.0.4RC3~193 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fb8be2665437da676539508ec7d9daa7f31e77e4;p=php Fix crash (#7802) --- diff --git a/ext/standard/file.c b/ext/standard/file.c index fdee1c9f7c..92de65c0bb 100644 --- a/ext/standard/file.c +++ b/ext/standard/file.c @@ -339,6 +339,7 @@ PHP_FUNCTION(get_meta_tags) /* get the variable value from the content attribute of the meta tag */ tmp = php_memnstr(buf_lcase, "content=\"", sizeof("content=\"")-1, buf_lcase + 8191); + val = NULL; if(tmp) { tmp = &buf[tmp - buf_lcase]; tmp+=9;