[PHP-CVS] svn: /php/php-src/ branches/PHP_5_3/NEWS branches/PHP_5_3/ext/zip/lib/zip_name_locate.c branches/PHP_5_3/ext/zip/tests/bug53885.phpt trunk/ext/zip/lib/zip_name_locate.c trunk/ext/zip/tests/b

2011-01-30 Thread Stanislav Malyshev
stas Sun, 30 Jan 2011 22:28:57 + Revision: http://svn.php.net/viewvc?view=revision&revision=307867 Log: fix bug 53885 (ZipArchive segfault with FL_UNCHANGED on empty archive) Bug: http://bugs.php.net/53885 (Open) ZipArchive segfault with FL_UNCHANGED on e

Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_3/NEWS branches/PHP_5_3/sapi/fpm/fpm/fpm_php.c branches/PHP_5_3/sapi/fpm/fpm/fpm_php.h branches/PHP_5_3/sapi/fpm/fpm/fpm_request.c branches/PHP_5_3/sapi

2011-01-30 Thread Antony Dovgal
On 01/30/2011 04:52 PM, Jérôme Loyet wrote: > 2011/1/30 Antony Dovgal : >> On 01/29/2011 02:38 PM, Jérôme Loyet wrote: >>> + if (request_uri) { >>> + cpystrn(slot->request_uri, request_uri, >>> sizeof(slot->request_uri)); >>> + } >>> + >> >> No need to use/have private string f

Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_3/NEWS branches/PHP_5_3/sapi/fpm/fpm/fpm_php.c branches/PHP_5_3/sapi/fpm/fpm/fpm_php.h branches/PHP_5_3/sapi/fpm/fpm/fpm_request.c branches/PHP_5_3/sapi

2011-01-30 Thread Jérôme Loyet
2011/1/30 Antony Dovgal : > On 01/29/2011 02:38 PM, Jérôme Loyet wrote: >> +     if (request_uri) { >> +             cpystrn(slot->request_uri, request_uri, >> sizeof(slot->request_uri)); >> +     } >> + > > No need to use/have private string funcs for that, we have strlcpy() & > strlcat() in PHP

[PHP-CVS] svn: /php/php-src/ branches/PHP_5_3/sapi/fpm/fpm/fpm_request.c branches/PHP_5_3/sapi/fpm/fpm/fpm_sockets.c branches/PHP_5_3/sapi/fpm/fpm/fpm_str.h trunk/sapi/fpm/fpm/fpm_request.c trunk/sapi

2011-01-30 Thread Jérôme Loyet
fat Sun, 30 Jan 2011 13:51:20 + Revision: http://svn.php.net/viewvc?view=revision&revision=307861 Log: - remove cpystrn from FPM and use strlcpy instead. Changed paths: U php/php-src/branches/PHP_5_3/sapi/fpm/fpm/fpm_request.c U php/php-src/br

Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_3/NEWS branches/PHP_5_3/sapi/fpm/fpm/fpm_php.c branches/PHP_5_3/sapi/fpm/fpm/fpm_php.h branches/PHP_5_3/sapi/fpm/fpm/fpm_request.c branches/PHP_5_3/sapi

2011-01-30 Thread Antony Dovgal
On 01/29/2011 02:38 PM, Jérôme Loyet wrote: > + if (request_uri) { > + cpystrn(slot->request_uri, request_uri, > sizeof(slot->request_uri)); > + } > + No need to use/have private string funcs for that, we have strlcpy() & strlcat() in PHP. See main/strlcpy.c and main/strlcat.

[PHP-CVS] svn: /php/php-src/ branches/PHP_5_3/NEWS branches/PHP_5_3/ext/date/php_date.c branches/PHP_5_3/ext/date/tests/bug52290.phpt trunk/ext/date/php_date.c trunk/ext/date/tests/bug52290.phpt

2011-01-30 Thread Stanislav Malyshev
stas Sun, 30 Jan 2011 10:18:12 + Revision: http://svn.php.net/viewvc?view=revision&revision=307853 Log: Fix bug #52290 (setDate, setISODate, setTime works wrong when DateTime created from timestamp) Bug: http://bugs.php.net/52290 (Assigned) setDate, setIS

[PHP-CVS] svn: /php/php-src/ branches/PHP_5_3/NEWS branches/PHP_5_3/ext/date/php_date.c branches/PHP_5_3/ext/date/tests/bug52808.phpt trunk/ext/date/php_date.c trunk/ext/date/tests/bug52808.phpt

2011-01-30 Thread Stanislav Malyshev
stas Sun, 30 Jan 2011 08:54:53 + Revision: http://svn.php.net/viewvc?view=revision&revision=307846 Log: Fix bug #52808 (Segfault when specifying interval as two dates) Bug: http://bugs.php.net/52808 (Assigned) Segfault when specifying interval as two date