Skip to content

Commit

Permalink
Fix crash (php#7802)
Browse files Browse the repository at this point in the history
  • Loading branch information
smalyshev committed Nov 15, 2000
1 parent 3625a72 commit fb8be26
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ext/standard/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit fb8be26

Please sign in to comment.