summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2000-11-15 09:36:21 +0000
committerStanislav Malyshev <stas@php.net>2000-11-15 09:36:21 +0000
commitfb8be2665437da676539508ec7d9daa7f31e77e4 (patch)
treeb411075537719c054eb005e66a0439fd7cffab35 /ext
parent3625a729a7131f0ee5bdd2facc217c20e77b4093 (diff)
downloadphp-git-fb8be2665437da676539508ec7d9daa7f31e77e4.tar.gz
Fix crash (#7802)
Diffstat (limited to 'ext')
-rw-r--r--ext/standard/file.c1
1 files changed, 1 insertions, 0 deletions
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;