cvs: php4(PHP_4_3) /ext/standard file.c
| From: | Wez Furlong | Date: | Thu, 26 Dec 2002 22:36:21 +0000 |
| Subject: | cvs: php4(PHP_4_3) /ext/standard file.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-17417@lists.php.net to get a copy of this message | ||
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;