cvs: php4 /ext/wddx wddx.c
| From: | Andrei Zmievski | Date: | Wed, 13 Sep 2000 13:55:35 +0000 |
| Subject: | cvs: php4 /ext/wddx wddx.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-1749@lists.php.net to get a copy of this message | ||
andrei Wed Sep 13 06:55:35 2000 EDT
Modified files:
/php4/ext/wddx wddx.c
Log:
Fixed block overrun.
Index: php4/ext/wddx/wddx.c
diff -u php4/ext/wddx/wddx.c:1.52 php4/ext/wddx/wddx.c:1.53
--- php4/ext/wddx/wddx.c:1.52 Mon Aug 7 10:25:57 2000
+++ php4/ext/wddx/wddx.c Wed Sep 13 06:55:35 2000
@@ -27,7 +27,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: wddx.c,v 1.52 2000/08/07 17:25:57 sas Exp $ */
+/* $Id: wddx.c,v 1.53 2000/09/13 13:55:35 andrei Exp $ */
#include "php.h"
#include "php_wddx.h"
@@ -746,7 +746,6 @@
unsigned char *new_str;
new_str = php_base64_decode(Z_STRVAL_P(ent1->data), Z_STRLEN_P(ent1->data), &new_len);
- efree(Z_STRVAL_P(ent1->data));
Z_STRVAL_P(ent1->data) = new_str;
Z_STRLEN_P(ent1->data) = new_len;
}