wez Thu Dec 26 17:36:21 2002 EDT Modified files: (Branch: PHP_4_3) /php4/ext/standard file.c Log: MFH: get_meta_tags() stream leak Index: php4/ext/standard/file.c diff -u php4/ext/standard/file.c:1.279.2.3 php4/ext/standard/file.c:1.279.2.4 --- php4/ext/standard/file.c:1.279.2.3 Thu Dec 5 15:05:19 2002 +++ php4/ext/standard/file.c Thu Dec 26 17:36:21 2002 @@ -21,7 +21,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: file.c,v 1.279.2.3 2002/12/05 20:05:19 iliaa Exp $ */ +/* $Id: file.c,v 1.279.2.4 2002/12/26 22:36:21 wez Exp $ */ /* Synced with php 3.0 revision 1.218 1999-06-16 [ssb] */ @@ -273,14 +273,9 @@ return; } - php_stream_open_wrapper(filename, "rb", 0, NULL); - - md.stream = php_stream_open_wrapper(filename, "rb", (use_include_path ? USE_PATH : 0) | ENFORCE_SAFE_MODE | REPORT_ERRORS, NULL); - - if (!md.stream) { RETURN_FALSE;
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php