cvs: php4(PHP_4_2_0) /main php_variables.c

From: Date: Sun, 08 Sep 2002 00:28:10 +0000
Subject: cvs: php4(PHP_4_2_0) /main php_variables.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-13919@lists.php.net to get a copy of this message
yohgaki Sat Sep 7 20:28:10 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.2.4 php4/main/php_variables.c:1.35.2.5 --- php4/main/php_variables.c:1.35.2.4 Sat Sep 7 17:01:41 2002 +++ php4/main/php_variables.c Sat Sep 7 20:28:09 2002 @@ -16,7 +16,7 @@ | Zeev Suraski <zeev@zend.com> | +----------------------------------------------------------------------+ */ -/* $Id: php_variables.c,v 1.35.2.4 2002/09/07 21:01:41 yohgaki Exp $ */ +/* $Id: php_variables.c,v 1.35.2.5 2002/09/08 00:28:09 yohgaki Exp $ */ #include <stdio.h> #include "php.h" @@ -300,7 +300,7 @@ *val++ = '\0'; php_url_decode(var, strlen(var)); - val_len = php_url_decode(val, val-var); + val_len = php_url_decode(val, strlen(val)); php_register_variable_safe(var, val, val_len, array_ptr TSRMLS_CC); } else {

« previous php.cvs (#13919) next »