cvs: php-src(PHP_5_1) /ext/xsl xsltprocessor.c

From: Date: Fri, 02 Sep 2005 06:38:02 +0000
Subject: cvs: php-src(PHP_5_1) /ext/xsl xsltprocessor.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-33752@lists.php.net to get a copy of this message
rrichards Fri Sep 2 02:38:02 2005 EDT Modified files: (Branch: PHP_5_1) /php-src/ext/xsl xsltprocessor.c Log: MFH: Fix key length so params passed by array can be retrieved by getParameter() http://cvs.php.net/diff.php/php-src/ext/xsl/xsltprocessor.c?r1=1.39&r2=1.39.2.1&ty=u Index: php-src/ext/xsl/xsltprocessor.c diff -u php-src/ext/xsl/xsltprocessor.c:1.39 php-src/ext/xsl/xsltprocessor.c:1.39.2.1 --- php-src/ext/xsl/xsltprocessor.c:1.39 Wed Aug 3 10:08:23 2005 +++ php-src/ext/xsl/xsltprocessor.c Fri Sep 2 02:38:02 2005 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: xsltprocessor.c,v 1.39 2005/08/03 14:08:23 sniper Exp $ */ +/* $Id: xsltprocessor.c,v 1.39.2.1 2005/09/02 06:38:02 rrichards Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -614,7 +614,7 @@ ZVAL_ADDREF(*entry); COPY_PZVAL_TO_ZVAL(*new_string, *entry); - zend_hash_update(intern->parameter, string_key, string_key_len + 1, &new_string, sizeof(zval*), NULL); + zend_hash_update(intern->parameter, string_key, string_key_len, &new_string, sizeof(zval*), NULL); zend_hash_move_forward(Z_ARRVAL_P(array_value)); } RETURN_TRUE;

« previous php.cvs (#33752) next »