sesser Fri Jan 21 11:04:54 2005 EDT Modified files: (Branch: PHP_4_3) /php-src/ext/session session.c Log: MFH http://cvs.php.net/diff.php/php-src/ext/session/session.c?r1=1.336.2.48&r2=1.336.2.49&ty=u Index: php-src/ext/session/session.c diff -u php-src/ext/session/session.c:1.336.2.48 php-src/ext/session/session.c:1.336.2.49 --- php-src/ext/session/session.c:1.336.2.48 Sun Jan 9 12:57:50 2005 +++ php-src/ext/session/session.c Fri Jan 21 11:04:54 2005 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: session.c,v 1.336.2.48 2005/01/09 17:57:50 tony2001 Exp $ */ +/* $Id: session.c,v 1.336.2.49 2005/01/21 16:04:54 sesser Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -408,7 +408,7 @@ p += namelen + 1; if (has_value) { - MAKE_STD_ZVAL(current); + ALLOC_INIT_ZVAL(current); if (php_var_unserialize(¤t, (const unsigned char **)&p, endptr, &var_hash TSRMLS_CC)) { php_set_session_var(name, namelen, current, &var_hash TSRMLS_CC); } @@ -488,7 +488,7 @@ q++; if (has_value) { - MAKE_STD_ZVAL(current); + ALLOC_INIT_ZVAL(current); if (php_var_unserialize(¤t, (const unsigned char **)&q, endptr, &var_hash TSRMLS_CC)) { php_set_session_var(name, namelen, current, &var_hash TSRMLS_CC); }
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php