cvs: php4 /ext/standard file.c
| From: | Ilia Alshanetsky | Date: | Thu, 09 Jan 2003 22:49:19 +0000 |
| Subject: | cvs: php4 /ext/standard file.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-17776@lists.php.net to get a copy of this message | ||
iliaa Thu Jan 9 17:49:19 2003 EDT
Modified files:
/php4/ext/standard file.c
Log:
Fixed a memory corruption that occurs when an unterminated " is encountered
this bug maybe be related to #21556.
Index: php4/ext/standard/file.c
diff -u php4/ext/standard/file.c:1.288 php4/ext/standard/file.c:1.289
--- php4/ext/standard/file.c:1.288 Sun Jan 5 17:24:49 2003
+++ php4/ext/standard/file.c Thu Jan 9 17:49:18 2003
@@ -21,7 +21,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: file.c,v 1.288 2003/01/05 22:24:49 pollita Exp $ */
+/* $Id: file.c,v 1.289 2003/01/09 22:49:18 iliaa Exp $ */
/* Synced with php 3.0 revision 1.218 1999-06-16 [ssb] */
@@ -2276,7 +2276,7 @@
efree(lineEnd);
efree(temp);
efree(buf);
- zval_ptr_dtor(&return_value);
+ zval_dtor(return_value);
RETURN_FALSE;
}