]> granicus.if.org Git - php/log
php
18 years agoAdded buffer length checks
Ilia Alshanetsky [Thu, 28 Dec 2006 15:21:21 +0000 (15:21 +0000)]
Added buffer length checks

18 years agoSimplify code and eliminate strcat() usage
Ilia Alshanetsky [Thu, 28 Dec 2006 15:09:29 +0000 (15:09 +0000)]
Simplify code and eliminate strcat() usage

18 years agoMFH: force tidy.clean_output=0
Nuno Lopes [Thu, 28 Dec 2006 15:07:45 +0000 (15:07 +0000)]
MFH: force tidy.clean_output=0

18 years agoMFH
Antony Dovgal [Thu, 28 Dec 2006 14:26:36 +0000 (14:26 +0000)]
MFH

18 years agoMFH
Antony Dovgal [Thu, 28 Dec 2006 14:17:38 +0000 (14:17 +0000)]
MFH

18 years agoMFH
Antony Dovgal [Thu, 28 Dec 2006 13:30:25 +0000 (13:30 +0000)]
MFH

18 years agoMFH
Antony Dovgal [Thu, 28 Dec 2006 12:18:54 +0000 (12:18 +0000)]
MFH

18 years agoMFH
Antony Dovgal [Thu, 28 Dec 2006 12:01:50 +0000 (12:01 +0000)]
MFH

18 years agoAvoid strcpy() & strcat()
Ilia Alshanetsky [Thu, 28 Dec 2006 00:17:48 +0000 (00:17 +0000)]
Avoid strcpy() & strcat()

18 years agodie("skip this is for PHP < 4.2.3");
Nuno Lopes [Wed, 27 Dec 2006 15:22:28 +0000 (15:22 +0000)]
die("skip this is for PHP < 4.2.3");

18 years agooops: remove uneeded code in the skip condition
Nuno Lopes [Wed, 27 Dec 2006 15:17:04 +0000 (15:17 +0000)]
oops: remove uneeded code in the skip condition

18 years agoadd fr_FR@euro to the setlocale list
Nuno Lopes [Wed, 27 Dec 2006 15:11:35 +0000 (15:11 +0000)]
add fr_FR@euro to the setlocale list

18 years agoMFH
Antony Dovgal [Wed, 27 Dec 2006 10:31:10 +0000 (10:31 +0000)]
MFH

18 years agoMFH more test improvements by Chris Jones
Antony Dovgal [Wed, 27 Dec 2006 09:49:53 +0000 (09:49 +0000)]
MFH more test improvements by Chris Jones

18 years agoFixed compiler warning
Ilia Alshanetsky [Tue, 26 Dec 2006 17:17:52 +0000 (17:17 +0000)]
Fixed compiler warning

18 years agoDon't forget to free url structure
Ilia Alshanetsky [Tue, 26 Dec 2006 16:58:23 +0000 (16:58 +0000)]
Don't forget to free url structure

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

18 years agoSession deserializer protection.
Ilia Alshanetsky [Tue, 26 Dec 2006 16:53:47 +0000 (16:53 +0000)]
Session deserializer protection.

18 years agois_numeric_string() optimization
Ilia Alshanetsky [Tue, 26 Dec 2006 16:45:39 +0000 (16:45 +0000)]
is_numeric_string() optimization

18 years agois_numeric_string() optimization
Ilia Alshanetsky [Tue, 26 Dec 2006 16:44:20 +0000 (16:44 +0000)]
is_numeric_string() optimization

# Original Patch by Matt Wilmas

18 years agoMFH
Antony Dovgal [Tue, 26 Dec 2006 12:29:42 +0000 (12:29 +0000)]
MFH

18 years ago- MFH: add better zlib detection
Pierre Joye [Tue, 26 Dec 2006 10:42:50 +0000 (10:42 +0000)]
- MFH: 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:05 +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:25 +0000 (09:16 +0000)]
Code review:
  . fixed integer overflow
  . fixed buffer overflow/underflow
  . added more strict IP validation
  . reimplemented float number validation

18 years agoEnsure that OnUpdateLongGEZero is greater or equal to 0.
Ilia Alshanetsky [Mon, 25 Dec 2006 23:55:59 +0000 (23:55 +0000)]
Ensure that OnUpdateLongGEZero is greater or equal to 0.
Added a update wrapper for ensuring >0 values

18 years agoAllocation safety checks
Ilia Alshanetsky [Mon, 25 Dec 2006 23:43:10 +0000 (23:43 +0000)]
Allocation safety checks

18 years agoMFH
Antony Dovgal [Mon, 25 Dec 2006 22:40:23 +0000 (22:40 +0000)]
MFH

18 years agoAllocation safety checks
Ilia Alshanetsky [Mon, 25 Dec 2006 22:36:57 +0000 (22:36 +0000)]
Allocation safety checks

18 years agoMFH
Antony Dovgal [Mon, 25 Dec 2006 22:27:24 +0000 (22:27 +0000)]
MFH

18 years agoMFH
Antony Dovgal [Mon, 25 Dec 2006 22:12:46 +0000 (22:12 +0000)]
MFH

18 years agoMFH
Antony Dovgal [Mon, 25 Dec 2006 21:47:02 +0000 (21:47 +0000)]
MFH

18 years agoUse safe_emalloc()
Ilia Alshanetsky [Mon, 25 Dec 2006 21:41:04 +0000 (21:41 +0000)]
Use safe_emalloc()

18 years agofix weird strlen() usage
Antony Dovgal [Mon, 25 Dec 2006 21:18:01 +0000 (21:18 +0000)]
fix weird strlen() usage

18 years agoMFH
Antony Dovgal [Mon, 25 Dec 2006 21:08:02 +0000 (21:08 +0000)]
MFH

18 years agoFixed test for 64bit systems
Ilia Alshanetsky [Mon, 25 Dec 2006 21:07:53 +0000 (21:07 +0000)]
Fixed test for 64bit systems

18 years agoMFH
Antony Dovgal [Mon, 25 Dec 2006 20:53:50 +0000 (20:53 +0000)]
MFH

18 years agoMFH
Antony Dovgal [Mon, 25 Dec 2006 20:44:45 +0000 (20:44 +0000)]
MFH

18 years agoMFH
Antony Dovgal [Mon, 25 Dec 2006 20:03:43 +0000 (20:03 +0000)]
MFH

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

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

18 years agoAdd missing NEWS entrys and update the README.UPDATE file
Hannes Magnusson [Mon, 25 Dec 2006 16:03:38 +0000 (16:03 +0000)]
Add missing NEWS entrys and update the README.UPDATE file

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

18 years agoMFH
Antony Dovgal [Mon, 25 Dec 2006 15:28:57 +0000 (15:28 +0000)]
MFH

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

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

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

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

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

18 years agoMFH
Antony Dovgal [Mon, 25 Dec 2006 11:50:31 +0000 (11:50 +0000)]
MFH

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

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

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

18 years agoBFN
Rob Richards [Sun, 24 Dec 2006 12:32:56 +0000 (12:32 +0000)]
BFN

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

18 years agoBFN
Rob Richards [Sun, 24 Dec 2006 10:02:53 +0000 (10:02 +0000)]
BFN

18 years ago- fix bug #33386 (ScriptControl only sees last function of class): com_wrapper.c
Rob Richards [Sun, 24 Dec 2006 10:00:59 +0000 (10:00 +0000)]
- 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 agoFix typo
Hannes Magnusson [Sun, 24 Dec 2006 01:29:20 +0000 (01:29 +0000)]
Fix typo

18 years agoSafety checks
Ilia Alshanetsky [Sat, 23 Dec 2006 23:28:39 +0000 (23:28 +0000)]
Safety checks

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

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

18 years agoMFH
Antony Dovgal [Sat, 23 Dec 2006 14:02:50 +0000 (14:02 +0000)]
MFH

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

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

18 years agoSmall optimization of the date() function
Ilia Alshanetsky [Fri, 22 Dec 2006 15:21:34 +0000 (15:21 +0000)]
Small optimization of the date() function

18 years agonew tests
Antony Dovgal [Fri, 22 Dec 2006 13:30:10 +0000 (13:30 +0000)]
new tests

18 years agomore tests
Antony Dovgal [Fri, 22 Dec 2006 13:07:53 +0000 (13:07 +0000)]
more tests

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

18 years agoMFH
Antony Dovgal [Thu, 21 Dec 2006 22:08:26 +0000 (22:08 +0000)]
MFH

18 years agoMFH
Antony Dovgal [Thu, 21 Dec 2006 21:49:22 +0000 (21:49 +0000)]
MFH

18 years agoMFH
Antony Dovgal [Thu, 21 Dec 2006 21:37:45 +0000 (21:37 +0000)]
MFH

18 years agoimprove tests
Antony Dovgal [Thu, 21 Dec 2006 19:23:26 +0000 (19:23 +0000)]
improve tests

18 years agoFixed bug #39361, #39400 (mbstring function overloading problem).
Seiji Masugata [Thu, 21 Dec 2006 17:26:05 +0000 (17:26 +0000)]
Fixed bug #39361, #39400 (mbstring function overloading problem).

18 years agoFixed comments
Dmitry Stogov [Thu, 21 Dec 2006 13:05:27 +0000 (13:05 +0000)]
Fixed comments

18 years agofix issues identitified by coverity
Rob Richards [Thu, 21 Dec 2006 12:51:26 +0000 (12:51 +0000)]
fix issues identitified by coverity

18 years agonew tests
Antony Dovgal [Thu, 21 Dec 2006 12:41:36 +0000 (12:41 +0000)]
new tests

18 years agoMFH
Antony Dovgal [Thu, 21 Dec 2006 11:08:00 +0000 (11:08 +0000)]
MFH

18 years agoDefault memory_limit value is set to 128M
Dmitry Stogov [Thu, 21 Dec 2006 09:12:42 +0000 (09:12 +0000)]
Default memory_limit value is set to 128M

18 years agoRemoved dependency from SHELL32.DLL
Dmitry Stogov [Thu, 21 Dec 2006 09:01:10 +0000 (09:01 +0000)]
Removed dependency from SHELL32.DLL

18 years agoFix a possible memory leak
Ilia Alshanetsky [Thu, 21 Dec 2006 02:09:36 +0000 (02:09 +0000)]
Fix a possible memory leak

18 years agoFixed possible memory leak
Ilia Alshanetsky [Thu, 21 Dec 2006 01:57:05 +0000 (01:57 +0000)]
Fixed possible memory leak

18 years agoMFH
Antony Dovgal [Thu, 21 Dec 2006 01:18:28 +0000 (01:18 +0000)]
MFH

18 years agoOptimize out zend_hash_num_elements() call
Ilia Alshanetsky [Thu, 21 Dec 2006 01:16:10 +0000 (01:16 +0000)]
Optimize out zend_hash_num_elements() call

18 years agoMFH
Antony Dovgal [Thu, 21 Dec 2006 01:08:04 +0000 (01:08 +0000)]
MFH

18 years agofix possible leaks
Antony Dovgal [Thu, 21 Dec 2006 01:00:58 +0000 (01:00 +0000)]
fix possible leaks

18 years agoMFH
Antony Dovgal [Thu, 21 Dec 2006 00:47:02 +0000 (00:47 +0000)]
MFH

18 years agoMFH
Antony Dovgal [Wed, 20 Dec 2006 23:36:56 +0000 (23:36 +0000)]
MFH

18 years agoMFH
Antony Dovgal [Wed, 20 Dec 2006 23:30:30 +0000 (23:30 +0000)]
MFH

18 years agoMFH
Antony Dovgal [Wed, 20 Dec 2006 23:19:56 +0000 (23:19 +0000)]
MFH

18 years agoMFH
Antony Dovgal [Wed, 20 Dec 2006 23:01:31 +0000 (23:01 +0000)]
MFH

18 years agofixed ZTS build
Ilia Alshanetsky [Wed, 20 Dec 2006 19:48:12 +0000 (19:48 +0000)]
fixed ZTS build

18 years agoprotect _SESSION, HTTP_SESSION_VARS and GLOBALS
Antony Dovgal [Wed, 20 Dec 2006 19:31:28 +0000 (19:31 +0000)]
protect _SESSION, HTTP_SESSION_VARS and GLOBALS
maintain an internal reference of _SESSION, so that it won't be possible to destroy it from userspace

18 years agoFixed bug #39898 (FILTER_VALIDATE_URL validates \r\n\t etc).
Ilia Alshanetsky [Wed, 20 Dec 2006 19:20:01 +0000 (19:20 +0000)]
Fixed bug #39898 (FILTER_VALIDATE_URL validates \r\n\t etc).

18 years agoMFH
Antony Dovgal [Wed, 20 Dec 2006 19:08:48 +0000 (19:08 +0000)]
MFH

18 years agoMore correct patch for b-prefixes.
Andrei Zmievski [Wed, 20 Dec 2006 18:22:07 +0000 (18:22 +0000)]
More correct patch for b-prefixes.

18 years agoMFH: fix #39903 (Notice message when executing __halt_compiler() more than once)
Antony Dovgal [Wed, 20 Dec 2006 16:31:10 +0000 (16:31 +0000)]
MFH: fix #39903 (Notice message when executing __halt_compiler() more than once)

18 years agouse Z_* macros
Antony Dovgal [Wed, 20 Dec 2006 16:00:11 +0000 (16:00 +0000)]
use Z_* macros

18 years agoMFH
Antony Dovgal [Wed, 20 Dec 2006 15:12:38 +0000 (15:12 +0000)]
MFH

18 years ago- Fixed the validate email filter so that the letter "v" can also be used in
Derick Rethans [Wed, 20 Dec 2006 14:39:01 +0000 (14:39 +0000)]
- Fixed the validate email filter so that the letter "v" can also be used in
  the user part of the email address. (Derick)

18 years agoMFH
Antony Dovgal [Wed, 20 Dec 2006 13:09:02 +0000 (13:09 +0000)]
MFH

18 years agoMake MEMORY_LIMIT and ZEND_USE_MALLOC_MM to be always enabled. They don't make any...
Dmitry Stogov [Wed, 20 Dec 2006 10:49:33 +0000 (10:49 +0000)]
Make MEMORY_LIMIT and ZEND_USE_MALLOC_MM to be always enabled. They don't make any significant slowdown, but incrise maintainability a lot. Note that the setting of memory_limit wasn't changes (neither in main/main.c nor in php.ini) and it still set to 16M.