Skip to content

Commit 055f1f4

Browse files
committed
MFH: get_meta_tags() stream leak
1 parent a493c51 commit 055f1f4

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

ext/standard/file.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -273,14 +273,9 @@ PHP_FUNCTION(get_meta_tags)
273273
return;
274274
}
275275

276-
php_stream_open_wrapper(filename, "rb", 0, NULL);
277-
278-
279276
md.stream = php_stream_open_wrapper(filename, "rb",
280277
(use_include_path ? USE_PATH : 0) | ENFORCE_SAFE_MODE | REPORT_ERRORS,
281278
NULL);
282-
283-
284279

285280
if (!md.stream) {
286281
RETURN_FALSE;

0 commit comments

Comments
 (0)