cvs: php-src(PHP_5_2) /ext/mbstring/oniguruma regexec.c

From: Date: Thu, 28 Sep 2006 07:22:37 +0000
Subject: cvs: php-src(PHP_5_2) /ext/mbstring/oniguruma regexec.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-40734@lists.php.net to get a copy of this message
tony2001 Thu Sep 28 07:22:37 2006 UTC Modified files: (Branch: PHP_5_2) /php-src/ext/mbstring/oniguruma regexec.c Log: initialize variable and make valgrind happy http://cvs.php.net/viewvc.cgi/php-src/ext/mbstring/oniguruma/regexec.c?r1=1.5.4.3&r2=1.5.4.4&diff_format=u Index: php-src/ext/mbstring/oniguruma/regexec.c diff -u php-src/ext/mbstring/oniguruma/regexec.c:1.5.4.3 php-src/ext/mbstring/oniguruma/regexec.c:1.5.4.4 --- php-src/ext/mbstring/oniguruma/regexec.c:1.5.4.3 Thu Sep 21 16:37:20 2006 +++ php-src/ext/mbstring/oniguruma/regexec.c Thu Sep 28 07:22:37 2006 @@ -390,6 +390,7 @@ #define STATE_CHECK_BUFF_INIT(msa, str_len, state_num) do { \ (msa).state_check_buff = (void* )0;\ + (msa).state_check_buff_size = 0;\ if ((state_num) > 0 && str_len >= STATE_CHECK_STRING_THRESHOLD_LEN) {\ int size = ((int )((str_len) + 1) * (state_num) + 7) / 8;\ (msa).state_check_buff_size = size; \

« previous php.cvs (#40734) next »