cvs: php4(PHP_4_2_0) /main php_variables.c

From: Date: Wed, 24 Jul 2002 11:25:56 +0000
Subject: cvs: php4(PHP_4_2_0) /main php_variables.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-12964@lists.php.net to get a copy of this message
sesser Wed Jul 24 07:25:56 2002 EDT Modified files: (Branch: PHP_4_2_0) /php4/main php_variables.c Log: MFH Index: php4/main/php_variables.c diff -u php4/main/php_variables.c:1.35 php4/main/php_variables.c:1.35.2.1 --- php4/main/php_variables.c:1.35 Tue Dec 11 10:31:05 2001 +++ php4/main/php_variables.c Wed Jul 24 07:25:55 2002 @@ -16,7 +16,7 @@ | Zeev Suraski <zeev@zend.com> | +----------------------------------------------------------------------+ */ -/* $Id: php_variables.c,v 1.35 2001/12/11 15:31:05 sebastian Exp $ */ +/* $Id: php_variables.c,v 1.35.2.1 2002/07/24 11:25:55 sesser Exp $ */ #include <stdio.h> #include "php.h" @@ -197,6 +197,10 @@ char *var, *val; char *strtok_buf = NULL; zval *array_ptr = (zval *) arg; + + if (SG(request_info).post_data==NULL) { + return; + } var = php_strtok_r(SG(request_info).post_data, "&", &strtok_buf);

« previous php.cvs (#12964) next »