]> granicus.if.org Git - php/commitdiff
Fix crash (#7802)
authorStanislav Malyshev <stas@php.net>
Wed, 15 Nov 2000 09:36:21 +0000 (09:36 +0000)
committerStanislav Malyshev <stas@php.net>
Wed, 15 Nov 2000 09:36:21 +0000 (09:36 +0000)
ext/standard/file.c

index fdee1c9f7c38ca37a2c7d30fd410deeeae32ef92..92de65c0bb8e20d356f3fbf83bdb9455e7c4154d 100644 (file)
@@ -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;