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

From: Date: Wed, 28 Feb 2007 01:01:01 +0000
Subject: cvs: php-src(PHP_5_2) /ext/mbstring/oniguruma regerror.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-43320@lists.php.net to get a copy of this message
iliaa Wed Feb 28 01:01:01 2007 UTC Modified files: (Branch: PHP_5_2) /php-src/ext/mbstring/oniguruma regerror.c Log: Adjust vsnprintf() usage http://cvs.php.net/viewvc.cgi/php-src/ext/mbstring/oniguruma/regerror.c?r1=1.3.4.5&r2=1.3.4.6&diff_format=u Index: php-src/ext/mbstring/oniguruma/regerror.c diff -u php-src/ext/mbstring/oniguruma/regerror.c:1.3.4.5 php-src/ext/mbstring/oniguruma/regerror.c:1.3.4.6 --- php-src/ext/mbstring/oniguruma/regerror.c:1.3.4.5 Tue Feb 27 03:28:16 2007 +++ php-src/ext/mbstring/oniguruma/regerror.c Wed Feb 28 01:01:01 2007 @@ -1,4 +1,4 @@ -/********************************************************************** + regerror.c - Oniguruma (regular expression library) **********************************************************************/ /*- @@ -279,7 +279,7 @@ va_init_list(args, fmt); n = vsnprintf((char* )buf, bufsize, (const char* )fmt, args); if (n >= bufsize) { - return; + n = bufsize - 1; } va_end(args);

« previous php.cvs (#43320) next »