Date: 08/26/99
- Next message: Andrey Zmievski: "[PHP-DEV] cvs: /php3 ChangeLog"
- Previous message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #2163 Updated: Problemes with associative arrays"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
andrey Thu Aug 26 09:23:19 1999 EDT
Modified files:
/php3/functions wddx_a.c
Log:
Fix for #2161.
Index: php3/functions/wddx_a.c
diff -u php3/functions/wddx_a.c:1.9 php3/functions/wddx_a.c:1.10
--- php3/functions/wddx_a.c:1.9 Wed Aug 18 12:34:31 1999
+++ php3/functions/wddx_a.c Thu Aug 26 09:23:19 1999
@@ -27,7 +27,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: wddx_a.c,v 1.9 1999/08/18 16:34:31 andrey Exp $ */
+/* $Id: wddx_a.c,v 1.10 1999/08/26 13:23:19 andrey Exp $ */
#include "php.h"
#include "internal_functions.h"
@@ -628,9 +628,11 @@
XML_ParserFree(parser);
- wddx_stack_top(&stack, (void**)&ent);
- *return_value = *(ent->data);
- pval_copy_constructor(return_value);
+ if (!wddx_stack_is_empty(&stack)) {
+ wddx_stack_top(&stack, (void**)&ent);
+ *return_value = *(ent->data);
+ pval_copy_constructor(return_value);
+ }
wddx_stack_destroy(&stack);
}
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Andrey Zmievski: "[PHP-DEV] cvs: /php3 ChangeLog"
- Previous message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #2163 Updated: Problemes with associative arrays"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

