[PHP4BETA] CVS update: php4/ext/standard
| From: | sas | Date: | Fri, 28 May 1999 21:27:19 +0000 |
| Subject: | [PHP4BETA] CVS update: php4/ext/standard | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-1153@lists.php.net to get a copy of this message | ||
Date: Friday May 28, 1999 @ 17:27
Author: sas
Update of /repository/php4/ext/standard
In directory php:/tmp/cvs-serv24028/standard
Modified Files:
var.c
Log Message:
Either I'm playing the EG(symbol_table) game wrong or var.c leaks memory
when unserializing arrays/objects. Still testing
Index: php4/ext/standard/var.c
diff -u php4/ext/standard/var.c:1.6 php4/ext/standard/var.c:1.7
--- php4/ext/standard/var.c:1.6 Sun Apr 25 08:41:18 1999
+++ php4/ext/standard/var.c Fri May 28 17:27:19 1999
@@ -355,6 +355,7 @@
return 0;
}
if (!php3api_var_unserialize(&data, p, max)) {
+ pval_destructor(key);
efree(key);
efree(data);
return 0;
--
PHP 4 Beta