]> granicus.if.org Git - php/log
php
18 years agostrncpy() -> strlcpy()
Ilia Alshanetsky [Sat, 24 Feb 2007 18:00:56 +0000 (18:00 +0000)]
strncpy() -> strlcpy()

18 years agoPad to given length, not replace data with spaces
Ilia Alshanetsky [Sat, 24 Feb 2007 17:57:57 +0000 (17:57 +0000)]
Pad to given length, not replace data with spaces

18 years agoEliminate strncpy and simplify code
Ilia Alshanetsky [Sat, 24 Feb 2007 17:40:45 +0000 (17:40 +0000)]
Eliminate strncpy and simplify code

18 years agoEliminate strncpy() and simplify code
Ilia Alshanetsky [Sat, 24 Feb 2007 17:18:24 +0000 (17:18 +0000)]
Eliminate strncpy() and simplify code

18 years agostrncpy > strlcpy
Ilia Alshanetsky [Sat, 24 Feb 2007 17:16:23 +0000 (17:16 +0000)]
strncpy > strlcpy

18 years agoOnly do size check on create operations
Ilia Alshanetsky [Sat, 24 Feb 2007 16:36:56 +0000 (16:36 +0000)]
Only do size check on create operations

18 years agoFixed snprintf() usage
Ilia Alshanetsky [Sat, 24 Feb 2007 16:23:10 +0000 (16:23 +0000)]
Fixed snprintf() usage

18 years agoSegment size validation
Ilia Alshanetsky [Sat, 24 Feb 2007 15:50:54 +0000 (15:50 +0000)]
Segment size validation

18 years agoFixed Bug #39396 (stream_set_blocking crashes on Win32).
Ilia Alshanetsky [Sat, 24 Feb 2007 15:48:40 +0000 (15:48 +0000)]
Fixed Bug #39396 (stream_set_blocking crashes on Win32).

18 years agoUnify validation of shm segment size inside shm_attach()
Ilia Alshanetsky [Sat, 24 Feb 2007 15:44:43 +0000 (15:44 +0000)]
Unify validation of shm segment size inside shm_attach()

18 years agoFixed test to work with new version of libtidy that strips spaces
Ilia Alshanetsky [Sat, 24 Feb 2007 15:35:04 +0000 (15:35 +0000)]
Fixed test to work with new version of libtidy that strips spaces

18 years ago- Drop superflous efree
Marcus Boerger [Sat, 24 Feb 2007 14:53:50 +0000 (14:53 +0000)]
- Drop superflous efree

18 years ago- Fix spprintf usage
Marcus Boerger [Sat, 24 Feb 2007 14:33:50 +0000 (14:33 +0000)]
- Fix spprintf usage

18 years ago- Make debug code really safe
Marcus Boerger [Sat, 24 Feb 2007 14:28:09 +0000 (14:28 +0000)]
- Make debug code really safe

18 years agoUse poll() instead of select() if available
Dmitry Stogov [Sat, 24 Feb 2007 11:20:43 +0000 (11:20 +0000)]
Use poll() instead of select() if available

18 years agostrdup() can fail
Ilia Alshanetsky [Sat, 24 Feb 2007 03:24:40 +0000 (03:24 +0000)]
strdup() can fail

18 years agouse safe allocations
Stanislav Malyshev [Sat, 24 Feb 2007 03:08:05 +0000 (03:08 +0000)]
use safe allocations

18 years agoFixed a typo
Ilia Alshanetsky [Sat, 24 Feb 2007 02:59:58 +0000 (02:59 +0000)]
Fixed a typo

18 years agoUnfortunately, VC does not have snprintf, and sprintf_s supported only in vc2005
Stanislav Malyshev [Sat, 24 Feb 2007 02:50:58 +0000 (02:50 +0000)]
Unfortunately, VC does not have snprintf, and sprintf_s supported only in vc2005
Fortunately, we don't need it here too badly.

18 years agofix typo
Stanislav Malyshev [Sat, 24 Feb 2007 02:45:24 +0000 (02:45 +0000)]
fix typo

18 years agofix typos
Stanislav Malyshev [Sat, 24 Feb 2007 02:43:53 +0000 (02:43 +0000)]
fix typos

18 years ago- Avoid sprintf, even when checked copy'n'paste or changes lead to errors
Marcus Boerger [Sat, 24 Feb 2007 02:17:47 +0000 (02:17 +0000)]
- Avoid sprintf, even when checked copy'n'paste or changes lead to errors

18 years agodisallow negative length
Stanislav Malyshev [Sat, 24 Feb 2007 01:18:14 +0000 (01:18 +0000)]
disallow negative length

18 years agoMFH (r-1.82): Add retry for interrupted reads and graceful handling for failed retries
Sara Golemon [Fri, 23 Feb 2007 23:09:14 +0000 (23:09 +0000)]
MFH (r-1.82): Add retry for interrupted reads and graceful handling for failed retries

18 years agouse strlcat
Stanislav Malyshev [Fri, 23 Feb 2007 22:08:31 +0000 (22:08 +0000)]
use strlcat

18 years agouse strlcat
Stanislav Malyshev [Fri, 23 Feb 2007 22:05:46 +0000 (22:05 +0000)]
use strlcat

18 years agouse snprintf
Stanislav Malyshev [Fri, 23 Feb 2007 21:45:00 +0000 (21:45 +0000)]
use snprintf

18 years agouse snprintf
Stanislav Malyshev [Fri, 23 Feb 2007 21:38:25 +0000 (21:38 +0000)]
use snprintf

18 years agoincrease array size to fit buffer size
Stanislav Malyshev [Fri, 23 Feb 2007 21:14:52 +0000 (21:14 +0000)]
increase array size to fit buffer size

18 years agoMFH: fix leak
Antony Dovgal [Fri, 23 Feb 2007 20:51:02 +0000 (20:51 +0000)]
MFH: fix leak

18 years agouse safe_emalloc
Stanislav Malyshev [Fri, 23 Feb 2007 20:40:55 +0000 (20:40 +0000)]
use safe_emalloc

18 years agoMFH: fix #40606 (umask is not being restored when request is finished)
Antony Dovgal [Fri, 23 Feb 2007 16:22:20 +0000 (16:22 +0000)]
MFH: fix #40606 (umask is not being restored when request is finished)

18 years agoBFN
Rob Richards [Fri, 23 Feb 2007 11:15:08 +0000 (11:15 +0000)]
BFN

18 years agofix bug #40598 (libxml segfault)
Rob Richards [Fri, 23 Feb 2007 11:12:49 +0000 (11:12 +0000)]
fix bug #40598 (libxml segfault)

18 years ago- #40578, fix the 2nd race condition on shutdown when the cache is freed
Pierre Joye [Fri, 23 Feb 2007 00:58:49 +0000 (00:58 +0000)]
- #40578, fix the 2nd race condition on shutdown when the cache is freed

18 years agoSimplify code by converting emalloc() + sprintf() to spprintf()
Ilia Alshanetsky [Fri, 23 Feb 2007 00:37:36 +0000 (00:37 +0000)]
Simplify code by converting emalloc() + sprintf() to spprintf()

18 years agoMFH: check for buflen (on FreeBSD _SC_GETGR_R_SIZE_MAX is not implemented)
Antony Dovgal [Thu, 22 Feb 2007 23:40:39 +0000 (23:40 +0000)]
MFH: check for buflen (on FreeBSD _SC_GETGR_R_SIZE_MAX is not implemented)
patch by stas at FreeBSD dot org

18 years ago- MFH Fix logic
Marcus Boerger [Thu, 22 Feb 2007 23:26:03 +0000 (23:26 +0000)]
- MFH Fix logic

18 years agofix test on ultra-fast-machines and/or SOs with long time slices
Nuno Lopes [Thu, 22 Feb 2007 11:48:14 +0000 (11:48 +0000)]
fix test on ultra-fast-machines and/or SOs with long time slices
# Thanks Tony

18 years agoMFH
Antony Dovgal [Thu, 22 Feb 2007 10:06:22 +0000 (10:06 +0000)]
MFH

18 years agoFixed possible crash in putenv() on win32
Dmitry Stogov [Thu, 22 Feb 2007 08:23:17 +0000 (08:23 +0000)]
Fixed possible crash in putenv() on win32

18 years agoOne more strcpy. (Thanks Stas)
Ilia Alshanetsky [Thu, 22 Feb 2007 00:44:08 +0000 (00:44 +0000)]
One more strcpy. (Thanks Stas)

18 years agostrcpy() elimination
Ilia Alshanetsky [Thu, 22 Feb 2007 00:25:38 +0000 (00:25 +0000)]
strcpy() elimination

18 years agoMFH
Antony Dovgal [Wed, 21 Feb 2007 22:08:08 +0000 (22:08 +0000)]
MFH

18 years agoMFH: implement PHP_STREAM_FLAG_NO_CLOSE and avoid hacks
Antony Dovgal [Wed, 21 Feb 2007 21:57:21 +0000 (21:57 +0000)]
MFH: implement PHP_STREAM_FLAG_NO_CLOSE and avoid hacks

18 years agouse snprintf
Stanislav Malyshev [Wed, 21 Feb 2007 21:08:58 +0000 (21:08 +0000)]
use snprintf

18 years agofix test
Antony Dovgal [Wed, 21 Feb 2007 19:57:15 +0000 (19:57 +0000)]
fix test

18 years agofix tests on AIX
Antony Dovgal [Wed, 21 Feb 2007 19:52:20 +0000 (19:52 +0000)]
fix tests on AIX

18 years agowrong string len
Antony Dovgal [Wed, 21 Feb 2007 19:36:20 +0000 (19:36 +0000)]
wrong string len

18 years agoadd test for 64bit arch
Antony Dovgal [Wed, 21 Feb 2007 19:35:15 +0000 (19:35 +0000)]
add test for 64bit arch

18 years agofix test
Antony Dovgal [Wed, 21 Feb 2007 19:27:37 +0000 (19:27 +0000)]
fix test

18 years agofix test
Antony Dovgal [Wed, 21 Feb 2007 19:22:28 +0000 (19:22 +0000)]
fix test

18 years agouse /usr/bin/nohup instead
Nuno Lopes [Wed, 21 Feb 2007 16:25:37 +0000 (16:25 +0000)]
use /usr/bin/nohup instead

18 years agofix gcov build (#line stuff)
Nuno Lopes [Wed, 21 Feb 2007 16:08:18 +0000 (16:08 +0000)]
fix gcov build (#line stuff)

18 years agoCheck for FD_SETSIZE limit
Dmitry Stogov [Wed, 21 Feb 2007 15:46:13 +0000 (15:46 +0000)]
Check for FD_SETSIZE limit

18 years agoMFH: fix #40578 (imagettftext() multithreading issue)
Antony Dovgal [Wed, 21 Feb 2007 15:00:26 +0000 (15:00 +0000)]
MFH: fix #40578 (imagettftext() multithreading issue)

18 years agoMFH: fix #40576 (double values are truncated to 6 decimal digits when encoding)
Antony Dovgal [Wed, 21 Feb 2007 14:25:27 +0000 (14:25 +0000)]
MFH: fix #40576 (double values are truncated to 6 decimal digits when encoding)

18 years agoSpecial case for last iteration
Dmitry Stogov [Wed, 21 Feb 2007 14:11:00 +0000 (14:11 +0000)]
Special case for last iteration

18 years agoFixed bug #40560 (DIR functions do not work on root UNC path)
Dmitry Stogov [Wed, 21 Feb 2007 13:09:03 +0000 (13:09 +0000)]
Fixed bug #40560 (DIR functions do not work on root UNC path)

18 years agoImprove redirect validation
Ilia Alshanetsky [Wed, 21 Feb 2007 04:29:15 +0000 (04:29 +0000)]
Improve redirect validation

18 years agoUse strlcpy() rather then strcpy()
Ilia Alshanetsky [Wed, 21 Feb 2007 03:59:05 +0000 (03:59 +0000)]
Use strlcpy() rather then strcpy()

18 years agofix putenv - if there was no previous, remove variable from environ
Stanislav Malyshev [Wed, 21 Feb 2007 03:03:37 +0000 (03:03 +0000)]
fix putenv - if there was no previous, remove variable from environ

18 years agoCosmetic fix - safe_emalloc(nmemb, size, offset)
Stanislav Malyshev [Wed, 21 Feb 2007 01:13:44 +0000 (01:13 +0000)]
Cosmetic fix - safe_emalloc(nmemb, size, offset)

18 years agoCreateInstance requires BSTR (should fix #33188)
Stanislav Malyshev [Wed, 21 Feb 2007 01:11:11 +0000 (01:11 +0000)]
CreateInstance requires BSTR (should fix #33188)

18 years agofix unallocated free
Stanislav Malyshev [Tue, 20 Feb 2007 20:30:36 +0000 (20:30 +0000)]
fix unallocated free

18 years agoMFH: move PHP_TEST_WRITE_STDOUT to acinclude.m4 and use it in configure.in
Antony Dovgal [Tue, 20 Feb 2007 20:11:11 +0000 (20:11 +0000)]
MFH: move PHP_TEST_WRITE_STDOUT to acinclude.m4 and use it in configure.in

18 years agoMFH: make use of startup hooks
Antony Dovgal [Tue, 20 Feb 2007 19:20:41 +0000 (19:20 +0000)]
MFH: make use of startup hooks

18 years agoMFH: fix leak and errmsg
Antony Dovgal [Tue, 20 Feb 2007 14:08:43 +0000 (14:08 +0000)]
MFH: fix leak and errmsg
add test

18 years agoMFH: fix #38406 (crash when assigning objects to SimpleXML attributes)
Antony Dovgal [Tue, 20 Feb 2007 13:22:41 +0000 (13:22 +0000)]
MFH: fix #38406 (crash when assigning objects to SimpleXML attributes)

18 years ago- BFN
Marcus Boerger [Tue, 20 Feb 2007 13:09:54 +0000 (13:09 +0000)]
- BFN

18 years ago- Make stat based functions throw an exception
Marcus Boerger [Tue, 20 Feb 2007 13:08:01 +0000 (13:08 +0000)]
- Make stat based functions throw an exception

18 years agoBFN
Antony Dovgal [Tue, 20 Feb 2007 12:01:40 +0000 (12:01 +0000)]
BFN

18 years agoMFH: fix #40545 (multithreading issue in zend_strtod())
Antony Dovgal [Tue, 20 Feb 2007 12:00:58 +0000 (12:00 +0000)]
MFH: fix #40545 (multithreading issue in zend_strtod())

18 years agoUpgraded SQLite 3 library to version 3.3.13
Ilia Alshanetsky [Tue, 20 Feb 2007 00:09:43 +0000 (00:09 +0000)]
Upgraded SQLite 3 library to version 3.3.13

18 years agoEliminate strcat() usage.
Ilia Alshanetsky [Mon, 19 Feb 2007 23:53:00 +0000 (23:53 +0000)]
Eliminate strcat() usage.

18 years agoFixed strlcat() usage.
Ilia Alshanetsky [Mon, 19 Feb 2007 23:52:13 +0000 (23:52 +0000)]
Fixed strlcat() usage.

# Thanks Andi

18 years ago- Bugfix #40546: SplFileInfo::getPathInfo() throws an execption if directory is in...
Marcus Boerger [Mon, 19 Feb 2007 20:34:29 +0000 (20:34 +0000)]
- Bugfix #40546: SplFileInfo::getPathInfo() throws an execption if directory is in root dir.

18 years agoMFH: check SQLError() return value and output a meaningful errmsg when it fails
Antony Dovgal [Mon, 19 Feb 2007 20:22:38 +0000 (20:22 +0000)]
MFH: check SQLError() return value and output a meaningful errmsg when it fails

18 years agoMFH: fix heap protection on SPARC, required by GCC4
Antony Dovgal [Mon, 19 Feb 2007 18:29:31 +0000 (18:29 +0000)]
MFH: fix heap protection on SPARC, required by GCC4
patch by Dmitry

18 years agoInfo on new lib versions and BFN
Edin Kadribasic [Mon, 19 Feb 2007 17:32:54 +0000 (17:32 +0000)]
Info on new lib versions and BFN

18 years agotypo
Dmitry Stogov [Mon, 19 Feb 2007 17:29:19 +0000 (17:29 +0000)]
typo

18 years agoFixed bug #40371
Edin Kadribasic [Mon, 19 Feb 2007 17:26:15 +0000 (17:26 +0000)]
Fixed bug #40371

18 years ago- MFH CachingIterator implements Countable
Marcus Boerger [Mon, 19 Feb 2007 16:18:24 +0000 (16:18 +0000)]
- MFH CachingIterator implements Countable

18 years agoFixed bug #36496
Edin Kadribasic [Mon, 19 Feb 2007 16:03:42 +0000 (16:03 +0000)]
Fixed bug #36496

18 years agoOn win32 directories in the middle of the patch may be unreadable
Dmitry Stogov [Mon, 19 Feb 2007 14:58:07 +0000 (14:58 +0000)]
On win32 directories in the middle of the patch may be unreadable

18 years agoInitialize "retval" on each request
Dmitry Stogov [Mon, 19 Feb 2007 14:13:02 +0000 (14:13 +0000)]
Initialize "retval" on each request

18 years agoFixed fcgi_putenv() semantic with NULL value
Dmitry Stogov [Mon, 19 Feb 2007 13:21:14 +0000 (13:21 +0000)]
Fixed fcgi_putenv() semantic with NULL value

18 years agoMFH: fix test
Antony Dovgal [Mon, 19 Feb 2007 12:19:44 +0000 (12:19 +0000)]
MFH: fix test

18 years agoEliminate strcat() usage
Ilia Alshanetsky [Sun, 18 Feb 2007 18:08:22 +0000 (18:08 +0000)]
Eliminate strcat() usage
Fixed handling of argv[] for GET

18 years agoPQfreemem checks
Ilia Alshanetsky [Sun, 18 Feb 2007 17:05:53 +0000 (17:05 +0000)]
PQfreemem checks

18 years agoFixed bug #40503 (json_encode() value corruption on 32bit systems with
Ilia Alshanetsky [Sun, 18 Feb 2007 16:54:59 +0000 (16:54 +0000)]
Fixed bug #40503 (json_encode() value corruption on 32bit systems with
overflown values).

18 years agouse safer functions, check error value
Stanislav Malyshev [Sat, 17 Feb 2007 01:45:52 +0000 (01:45 +0000)]
use safer functions, check error value

18 years agofix typo
Antony Dovgal [Fri, 16 Feb 2007 23:49:48 +0000 (23:49 +0000)]
fix typo

18 years agouse error message size
Stanislav Malyshev [Fri, 16 Feb 2007 18:48:53 +0000 (18:48 +0000)]
use error message size

18 years agofix snprintf size
Stanislav Malyshev [Fri, 16 Feb 2007 18:32:38 +0000 (18:32 +0000)]
fix snprintf size
#-1 is not needed

18 years agoincrease hebdate buffer, use snprintf
Stanislav Malyshev [Fri, 16 Feb 2007 18:24:16 +0000 (18:24 +0000)]
increase hebdate buffer, use snprintf

18 years agofix typo
Stanislav Malyshev [Fri, 16 Feb 2007 18:10:36 +0000 (18:10 +0000)]
fix typo

18 years agoadd safe_realloc
Stanislav Malyshev [Fri, 16 Feb 2007 18:06:28 +0000 (18:06 +0000)]
add safe_realloc

18 years agoOptimize out RINIT()
Dmitry Stogov [Fri, 16 Feb 2007 16:35:04 +0000 (16:35 +0000)]
Optimize out RINIT()

18 years agofix possible double free
Antony Dovgal [Fri, 16 Feb 2007 13:28:03 +0000 (13:28 +0000)]
fix possible double free