svn: /php/php-src/trunk/ext/standard/ basic_functions.c

From: Date: Thu, 03 Jun 2010 15:08:06 +0000
Subject: svn: /php/php-src/trunk/ext/standard/ basic_functions.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-62808@lists.php.net to get a copy of this message
felipe Thu, 03 Jun 2010 15:08:06 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=300166 Log: - Added BG(serialize) and BG(unserialize) initialization Changed paths: U php/php-src/trunk/ext/standard/basic_functions.c Modified: php/php-src/trunk/ext/standard/basic_functions.c =================================================================== --- php/php-src/trunk/ext/standard/basic_functions.c 2010-06-03 15:03:22 UTC (rev 300165) +++ php/php-src/trunk/ext/standard/basic_functions.c 2010-06-03 15:08:06 UTC (rev 300166) @@ -3427,6 +3427,9 @@ BG(left) = -1; BG(user_tick_functions) = NULL; BG(user_filter_map) = NULL; + + memset(&BG(serialize), 0, sizeof(BG(serialize))); + memset(&BG(unserialize), 0, sizeof(BG(unserialize))); memset(&BG(url_adapt_state_ex), 0, sizeof(BG(url_adapt_state_ex)));

« previous php.cvs (#62808) next »