Re: cvs: php-src(PHP_5_2) /ext/mbstring/oniguruma regexec.c
| From: | Seiji Masugata | Date: | Thu, 28 Sep 2006 07:36:30 +0000 |
| Subject: | Re: cvs: php-src(PHP_5_2) /ext/mbstring/oniguruma regexec.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-40737@lists.php.net to get a copy of this message | ||
very sorry...
Contacts the author.
Thank you for fixed. :)
On Thu, 28 Sep 2006 07:22:37 -0000
"Antony Dovgal" wrote:
> 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; \
--
Seiji Masugata <s.masugata@digicom.dnp.co.jp>