]> granicus.if.org Git - php/log
php
18 years agomake sure l != 0
Antony Dovgal [Thu, 28 Dec 2006 22:36:45 +0000 (22:36 +0000)]
make sure l != 0

18 years agonuke dead code
Antony Dovgal [Thu, 28 Dec 2006 21:01:52 +0000 (21:01 +0000)]
nuke dead code

18 years agouse strlcpy()
Antony Dovgal [Thu, 28 Dec 2006 20:45:20 +0000 (20:45 +0000)]
use strlcpy()

18 years agoMFB
Nuno Lopes [Thu, 28 Dec 2006 19:53:30 +0000 (19:53 +0000)]
MFB

18 years agoinclude basic_functions.h for php_get_current_user() declaration
Antony Dovgal [Thu, 28 Dec 2006 15:44:50 +0000 (15:44 +0000)]
include basic_functions.h for php_get_current_user() declaration

18 years agoit's ptr, not ptrptr
Antony Dovgal [Thu, 28 Dec 2006 15:26:20 +0000 (15:26 +0000)]
it's ptr, not ptrptr

18 years agouse the macro, casting works only with GCC
Antony Dovgal [Thu, 28 Dec 2006 15:24:00 +0000 (15:24 +0000)]
use the macro, casting works only with GCC

18 years agofix sapi/embed build
Antony Dovgal [Thu, 28 Dec 2006 15:22:07 +0000 (15:22 +0000)]
fix sapi/embed build

18 years agoMFB: Added buffer length checks
Ilia Alshanetsky [Thu, 28 Dec 2006 15:21:32 +0000 (15:21 +0000)]
MFB: Added buffer length checks

18 years agofix build
Antony Dovgal [Thu, 28 Dec 2006 15:14:39 +0000 (15:14 +0000)]
fix build

18 years agoMFB: strcat() stuff
Ilia Alshanetsky [Thu, 28 Dec 2006 15:10:54 +0000 (15:10 +0000)]
MFB: strcat() stuff

18 years agoforce tidy.clean_output=0
Nuno Lopes [Thu, 28 Dec 2006 15:06:58 +0000 (15:06 +0000)]
force tidy.clean_output=0

18 years agofix ZTS build
Antony Dovgal [Thu, 28 Dec 2006 15:03:19 +0000 (15:03 +0000)]
fix ZTS build

18 years agouse strlcat()
Antony Dovgal [Thu, 28 Dec 2006 14:26:30 +0000 (14:26 +0000)]
use strlcat()

18 years agominor improvements
Antony Dovgal [Thu, 28 Dec 2006 14:17:09 +0000 (14:17 +0000)]
minor improvements

18 years agouse strlcat()
Antony Dovgal [Thu, 28 Dec 2006 13:30:18 +0000 (13:30 +0000)]
use strlcat()

18 years agouse strlcat()
Antony Dovgal [Thu, 28 Dec 2006 12:18:47 +0000 (12:18 +0000)]
use strlcat()

18 years agouse strlcat() and a bigger buffer
Antony Dovgal [Thu, 28 Dec 2006 12:01:14 +0000 (12:01 +0000)]
use strlcat() and a bigger buffer

18 years agoChangeLog update
<changelog@php.net> [Thu, 28 Dec 2006 01:31:05 +0000 (01:31 +0000)]
ChangeLog update

18 years agofix tests
Antony Dovgal [Wed, 27 Dec 2006 19:22:29 +0000 (19:22 +0000)]
fix tests

18 years agofix tests
Antony Dovgal [Wed, 27 Dec 2006 19:17:02 +0000 (19:17 +0000)]
fix tests

18 years agoNULL is a special value for number_format() meaning "use default separator"
Antony Dovgal [Wed, 27 Dec 2006 19:07:28 +0000 (19:07 +0000)]
NULL is a special value for number_format() meaning "use default separator"

18 years agorestore old behaviour when casting objects to strings and NULL
Antony Dovgal [Wed, 27 Dec 2006 17:22:22 +0000 (17:22 +0000)]
restore old behaviour when casting objects to strings and NULL

18 years agofix convert_to_unicode() and convert_to_string() which didn't set the type of the...
Antony Dovgal [Wed, 27 Dec 2006 16:50:05 +0000 (16:50 +0000)]
fix convert_to_unicode() and convert_to_string() which didn't set the type of the op properly

18 years agofix *scanf() tests
Antony Dovgal [Wed, 27 Dec 2006 15:26:13 +0000 (15:26 +0000)]
fix *scanf() tests

18 years agoadd zend_u_strtoul() and fix build
Antony Dovgal [Wed, 27 Dec 2006 15:23:45 +0000 (15:23 +0000)]
add zend_u_strtoul() and fix build

18 years agofix php_stream_u_get_line() macro
Antony Dovgal [Wed, 27 Dec 2006 15:22:46 +0000 (15:22 +0000)]
fix php_stream_u_get_line() macro

18 years agoMFB
Nuno Lopes [Wed, 27 Dec 2006 15:18:15 +0000 (15:18 +0000)]
MFB

18 years agoinitialize memory with 0's, so we won't get garbage if the statement does not set...
Antony Dovgal [Wed, 27 Dec 2006 10:30:47 +0000 (10:30 +0000)]
initialize memory with 0's, so we won't get garbage if the statement does not set the var

18 years agothat should not be there..
Antony Dovgal [Wed, 27 Dec 2006 09:49:06 +0000 (09:49 +0000)]
that should not be there..

18 years agomore test improvements by Chris Jones
Antony Dovgal [Wed, 27 Dec 2006 09:48:05 +0000 (09:48 +0000)]
more test improvements by Chris Jones

18 years agoChangeLog update
<changelog@php.net> [Wed, 27 Dec 2006 01:31:05 +0000 (01:31 +0000)]
ChangeLog update

18 years agoUnicode support in sscanf() and fscanf(). (Tony, Andrei)
Andrei Zmievski [Tue, 26 Dec 2006 22:34:05 +0000 (22:34 +0000)]
Unicode support in sscanf() and fscanf(). (Tony, Andrei)

18 years agofix build
Nuno Lopes [Tue, 26 Dec 2006 22:07:45 +0000 (22:07 +0000)]
fix build

18 years agoMFB: safety checks
Ilia Alshanetsky [Tue, 26 Dec 2006 17:40:20 +0000 (17:40 +0000)]
MFB: safety checks

18 years agoMFB: Session deserializer protection.
Ilia Alshanetsky [Tue, 26 Dec 2006 17:18:28 +0000 (17:18 +0000)]
MFB:   Session deserializer protection.

18 years agoMFB: Fixed bug #39878 (CURL doesn't compile on Sun Studio Pro).
Ilia Alshanetsky [Tue, 26 Dec 2006 16:57:51 +0000 (16:57 +0000)]
MFB: Fixed bug #39878 (CURL doesn't compile on Sun Studio Pro).

18 years agofix arguments order (just in the sake of purity)
Antony Dovgal [Tue, 26 Dec 2006 12:29:32 +0000 (12:29 +0000)]
fix arguments order (just in the sake of purity)

18 years ago- Add better zlib detection
Pierre Joye [Tue, 26 Dec 2006 10:42:25 +0000 (10:42 +0000)]
- Add better zlib detection

18 years ago- #39952 zip ignoring --with-libdir on zlib checks (judas dot
Pierre Joye [Tue, 26 Dec 2006 09:52:32 +0000 (09:52 +0000)]
- #39952 zip ignoring --with-libdir on zlib checks (judas dot
  iscariote at gmail dot com)

18 years agoCode review:
Dmitry Stogov [Tue, 26 Dec 2006 09:16:39 +0000 (09:16 +0000)]
Code review:
  . fixed integer overflow
  . fixed buffer overflow/underflow
  . added more strict IP validation
  . reimplemented float number validation

18 years agoChangeLog update
<changelog@php.net> [Tue, 26 Dec 2006 01:31:04 +0000 (01:31 +0000)]
ChangeLog update

18 years agoadd missing space for \0
Antony Dovgal [Mon, 25 Dec 2006 22:40:13 +0000 (22:40 +0000)]
add missing space for \0

18 years agomore safe_emalloc()
Antony Dovgal [Mon, 25 Dec 2006 22:27:12 +0000 (22:27 +0000)]
more safe_emalloc()

18 years agouse safe_emalloc()
Antony Dovgal [Mon, 25 Dec 2006 22:12:36 +0000 (22:12 +0000)]
use safe_emalloc()

18 years agouse safe_emalloc()
Antony Dovgal [Mon, 25 Dec 2006 21:45:09 +0000 (21:45 +0000)]
use safe_emalloc()

18 years agoMFB: Fixed test for 64bit systems
Ilia Alshanetsky [Mon, 25 Dec 2006 21:08:10 +0000 (21:08 +0000)]
MFB: Fixed test for 64bit systems

18 years agouse safe_emalloc()
Antony Dovgal [Mon, 25 Dec 2006 21:07:32 +0000 (21:07 +0000)]
use safe_emalloc()

18 years agouse safe_emalloc()
Antony Dovgal [Mon, 25 Dec 2006 20:53:43 +0000 (20:53 +0000)]
use safe_emalloc()

18 years agouse safe_emalloc()
Antony Dovgal [Mon, 25 Dec 2006 20:44:28 +0000 (20:44 +0000)]
use safe_emalloc()

18 years agoimprove check for overflow
Antony Dovgal [Mon, 25 Dec 2006 20:03:20 +0000 (20:03 +0000)]
improve check for overflow

18 years agofix CS, add missing folding markers
Antony Dovgal [Mon, 25 Dec 2006 19:34:00 +0000 (19:34 +0000)]
fix CS, add missing folding markers
mark Unicode safe functions as they are

18 years agoFixed bug #39825 (foreach produces memory error)
Dmitry Stogov [Mon, 25 Dec 2006 19:23:18 +0000 (19:23 +0000)]
Fixed bug #39825 (foreach produces memory error)

18 years agostream_socket_shutdown() is Unicode safe by definition
Antony Dovgal [Mon, 25 Dec 2006 19:19:08 +0000 (19:19 +0000)]
stream_socket_shutdown() is Unicode safe by definition

18 years agofix proto
Antony Dovgal [Mon, 25 Dec 2006 19:12:39 +0000 (19:12 +0000)]
fix proto

18 years agofix protos
Antony Dovgal [Mon, 25 Dec 2006 19:08:33 +0000 (19:08 +0000)]
fix protos

18 years agomark most of the ext/posix functions as Unicode safe, for they do not use strings...
Antony Dovgal [Mon, 25 Dec 2006 19:03:56 +0000 (19:03 +0000)]
mark most of the ext/posix functions as Unicode safe, for they do not use strings in any way

18 years agomark all LOB functions as Unicode safe
Antony Dovgal [Mon, 25 Dec 2006 18:57:15 +0000 (18:57 +0000)]
mark all LOB functions as Unicode safe

18 years agoMFB: Use %F (ignores locale) for internal representation of floats
Ilia Alshanetsky [Mon, 25 Dec 2006 16:49:05 +0000 (16:49 +0000)]
MFB: Use %F (ignores locale) for internal representation of floats

18 years agofix bug #39890 (using autoconf 2.6x and --with-layout=GNU breaks PEAR install path)
Antony Dovgal [Mon, 25 Dec 2006 15:40:14 +0000 (15:40 +0000)]
fix bug #39890 (using autoconf 2.6x and --with-layout=GNU breaks PEAR install path)

18 years agofix build
Antony Dovgal [Mon, 25 Dec 2006 15:28:44 +0000 (15:28 +0000)]
fix build

18 years agofix test
Antony Dovgal [Mon, 25 Dec 2006 14:27:44 +0000 (14:27 +0000)]
fix test

18 years agoMFB: Define SENDBUFLEN for older c-client libs
Ilia Alshanetsky [Mon, 25 Dec 2006 14:23:38 +0000 (14:23 +0000)]
MFB: Define SENDBUFLEN for older c-client libs

18 years agoFixed bug #39944 (References broken)
Dmitry Stogov [Mon, 25 Dec 2006 14:16:38 +0000 (14:16 +0000)]
Fixed bug #39944 (References broken)

18 years agoFixed heap overflow
Dmitry Stogov [Mon, 25 Dec 2006 13:11:48 +0000 (13:11 +0000)]
Fixed heap overflow

18 years agoFixed possible size_t overflow
Dmitry Stogov [Mon, 25 Dec 2006 12:16:49 +0000 (12:16 +0000)]
Fixed possible size_t overflow

18 years agoupdate credits at request of Gabor
Antony Dovgal [Mon, 25 Dec 2006 11:50:23 +0000 (11:50 +0000)]
update credits at request of Gabor

18 years agofix tests
Antony Dovgal [Mon, 25 Dec 2006 11:16:05 +0000 (11:16 +0000)]
fix tests

18 years agofix #36392 in Unicode mode
Antony Dovgal [Mon, 25 Dec 2006 11:15:08 +0000 (11:15 +0000)]
fix #36392 in Unicode mode

18 years agoChangeLog update
<changelog@php.net> [Mon, 25 Dec 2006 01:31:04 +0000 (01:31 +0000)]
ChangeLog update

18 years agoMFB: Fixed buffer boundary protection
Ilia Alshanetsky [Sun, 24 Dec 2006 22:15:18 +0000 (22:15 +0000)]
MFB: Fixed buffer boundary protection

18 years agoMFB: Added empty string checks
Ilia Alshanetsky [Sun, 24 Dec 2006 20:50:21 +0000 (20:50 +0000)]
MFB: Added empty string checks

18 years agoupdate function signature
Rob Richards [Sun, 24 Dec 2006 12:42:47 +0000 (12:42 +0000)]
update function signature

18 years agoMFB: fix bug #33734 and related (Something strange with COM Object)
Rob Richards [Sun, 24 Dec 2006 12:32:35 +0000 (12:32 +0000)]
MFB: fix bug #33734 and related (Something strange with COM Object)
 - caused by fix in com_handlers.c rev 1.22.2.5

18 years agoMFB:
Rob Richards [Sun, 24 Dec 2006 10:02:00 +0000 (10:02 +0000)]
MFB:
- fix bug #33386 (ScriptControl only sees last function of class): com_wrapper.c
- fix bug #37588 (COM Property propputref converts to PHP function
  and can't be accesed): com_handlers.c
- fix bug #39596 (Creating Variant of type VT_ARRAY): com_variant.c
- add tests

18 years agoChangeLog update
<changelog@php.net> [Sun, 24 Dec 2006 01:31:04 +0000 (01:31 +0000)]
ChangeLog update

18 years agoMFB: safety checks
Ilia Alshanetsky [Sat, 23 Dec 2006 23:29:41 +0000 (23:29 +0000)]
MFB: safety checks

18 years agoMFB: Added checks for negative max length and overflow checks for overly
Ilia Alshanetsky [Sat, 23 Dec 2006 18:50:52 +0000 (18:50 +0000)]
MFB: Added checks for negative max length and overflow checks for overly
long strings.

18 years ago- MFB: Fixed bug #39935 (Extensions tidy,mcrypt,mhash,pdo_sqlite ignores
Derick Rethans [Sat, 23 Dec 2006 18:00:49 +0000 (18:00 +0000)]
- MFB: Fixed bug #39935 (Extensions tidy,mcrypt,mhash,pdo_sqlite ignores
  --with-libdir).

18 years agofix test
Antony Dovgal [Sat, 23 Dec 2006 14:14:14 +0000 (14:14 +0000)]
fix test

18 years agofix typo
Antony Dovgal [Sat, 23 Dec 2006 14:12:38 +0000 (14:12 +0000)]
fix typo

18 years agofix tests
Antony Dovgal [Sat, 23 Dec 2006 14:10:52 +0000 (14:10 +0000)]
fix tests

18 years agouse add_ascii_assoc_text()
Antony Dovgal [Sat, 23 Dec 2006 14:10:35 +0000 (14:10 +0000)]
use add_ascii_assoc_text()

18 years agouse OCI_SUCCESS constant, do not rely on its value
Antony Dovgal [Sat, 23 Dec 2006 14:02:38 +0000 (14:02 +0000)]
use OCI_SUCCESS constant, do not rely on its value

18 years agoChangeLog update
<changelog@php.net> [Sat, 23 Dec 2006 01:30:59 +0000 (01:30 +0000)]
ChangeLog update

18 years agoImplement OnUpdateUTF8String() handler. It always assumes UTF-8 input,
Andrei Zmievski [Fri, 22 Dec 2006 21:38:12 +0000 (21:38 +0000)]
Implement OnUpdateUTF8String() handler. It always assumes UTF-8 input,
since we cannot check for UG(unicodE) inside it.

18 years agoUnicode support in number_format().
Andrei Zmievski [Fri, 22 Dec 2006 21:18:30 +0000 (21:18 +0000)]
Unicode support in number_format().

18 years agofix lcov/genhtml build (yes it is very picky)
Nuno Lopes [Fri, 22 Dec 2006 17:02:54 +0000 (17:02 +0000)]
fix lcov/genhtml build (yes it is very picky)

18 years agoMFB: Fixed bug #39884 (ReflectionParameter::getClass() throws exception for
Ilia Alshanetsky [Fri, 22 Dec 2006 15:38:42 +0000 (15:38 +0000)]
MFB: Fixed bug #39884 (ReflectionParameter::getClass() throws exception for
type hint self).

18 years agoMFB: Fixed bug #36392 (wrong number of decimal digits with %e specifier in
Ilia Alshanetsky [Fri, 22 Dec 2006 15:30:18 +0000 (15:30 +0000)]
MFB: Fixed bug #36392 (wrong number of decimal digits with %e specifier in
sprintf).

18 years agomore OCI8 tests by Chris Jones
Antony Dovgal [Fri, 22 Dec 2006 13:28:46 +0000 (13:28 +0000)]
more OCI8 tests by Chris Jones

18 years agomore ext/date tests by Chris Jones
Antony Dovgal [Fri, 22 Dec 2006 13:07:26 +0000 (13:07 +0000)]
more ext/date tests by Chris Jones

18 years agoMFB: Fixed bug #39873 (number_format() breaks with locale & decimal points).
Ilia Alshanetsky [Fri, 22 Dec 2006 04:03:35 +0000 (04:03 +0000)]
MFB: Fixed bug #39873 (number_format() breaks with locale & decimal points).

18 years agoChangeLog update
<changelog@php.net> [Fri, 22 Dec 2006 01:31:06 +0000 (01:31 +0000)]
ChangeLog update

18 years agoFix tests
Hannes Magnusson [Fri, 22 Dec 2006 01:20:24 +0000 (01:20 +0000)]
Fix tests

18 years agoFix ZTS build...
Hannes Magnusson [Fri, 22 Dec 2006 01:07:28 +0000 (01:07 +0000)]
Fix ZTS build...

18 years ago- Fix memory allocation/deallocation to match
Marcus Boerger [Fri, 22 Dec 2006 00:57:51 +0000 (00:57 +0000)]
- Fix memory allocation/deallocation to match

18 years ago- Implement ezstrndup()
Marcus Boerger [Fri, 22 Dec 2006 00:56:59 +0000 (00:56 +0000)]
- Implement ezstrndup()

18 years ago- Make custom serializing work with zstr (as discussed with andrei)
Marcus Boerger [Fri, 22 Dec 2006 00:47:27 +0000 (00:47 +0000)]
- Make custom serializing work with zstr (as discussed with andrei)

18 years agoFix serialization test.
Andrei Zmievski [Fri, 22 Dec 2006 00:37:20 +0000 (00:37 +0000)]
Fix serialization test.