cvs: /php3/functions wddx_a.c

From: Date: Wed, 18 Aug 1999 16:09:31 +0000
Subject: cvs: /php3/functions wddx_a.c
Groups: php.dev 
Request: Send a blank email to php-dev+get-9978@lists.php.net to get a copy of this message
andrey Wed Aug 18 12:09:31 1999 EDT Modified files: /php3/functions wddx_a.c Log: Fixed crash on empty string. Index: php3/functions/wddx_a.c diff -u php3/functions/wddx_a.c:1.7 php3/functions/wddx_a.c:1.8 --- php3/functions/wddx_a.c:1.7 Thu Jun 3 06:48:17 1999 +++ php3/functions/wddx_a.c Wed Aug 18 12:09:31 1999 @@ -27,7 +27,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: wddx_a.c,v 1.7 1999/06/03 10:48:17 sas Exp $ */ +/* $Id: wddx_a.c,v 1.8 1999/08/18 16:09:31 andrey Exp $ */ #include "php.h" #include "internal_functions.h" @@ -836,6 +836,9 @@ WRONG_PARAM_COUNT; } + convert_to_string(packet); + if (packet->value.str.len == 0) + return; _php3_wddx_deserialize(packet, return_value); } /* }}} */

« previous php.dev (#9978) next »