]> granicus.if.org Git - php/log
php
17 years agofixes #40848
Wez Furlong [Sun, 18 Mar 2007 20:20:23 +0000 (20:20 +0000)]
fixes #40848

17 years agoFixed MOPB-26-2007 mb_parse_str() can be used to activate register_globals
Ilia Alshanetsky [Sun, 18 Mar 2007 16:36:13 +0000 (16:36 +0000)]
Fixed MOPB-26-2007 mb_parse_str() can be used to activate register_globals

# Discovered by Stefan Esser

17 years agoMFH: fix #40794 (ReflectionObject::getValues() may crash when used with dynamic prope...
Antony Dovgal [Sat, 17 Mar 2007 23:00:49 +0000 (23:00 +0000)]
MFH: fix #40794 (ReflectionObject::getValues() may crash when used with dynamic properties)

17 years agofix tests
Antony Dovgal [Sat, 17 Mar 2007 19:16:17 +0000 (19:16 +0000)]
fix tests

17 years agofix spprintf usage
Stanislav Malyshev [Fri, 16 Mar 2007 21:59:23 +0000 (21:59 +0000)]
fix spprintf usage

17 years agoclarify
Stanislav Malyshev [Fri, 16 Mar 2007 21:49:56 +0000 (21:49 +0000)]
clarify

17 years agoarray_user_key_compare() fix
Stanislav Malyshev [Fri, 16 Mar 2007 19:58:19 +0000 (19:58 +0000)]
array_user_key_compare() fix

17 years agoadd test
Stanislav Malyshev [Fri, 16 Mar 2007 19:55:21 +0000 (19:55 +0000)]
add test

17 years agoFix UMR in array_user_key_compare() (MOPB24 by Stefan Esser)
Stanislav Malyshev [Fri, 16 Mar 2007 19:38:58 +0000 (19:38 +0000)]
Fix UMR in array_user_key_compare() (MOPB24 by Stefan Esser)

17 years agoBFN
Antony Dovgal [Fri, 16 Mar 2007 09:31:20 +0000 (09:31 +0000)]
BFN

17 years agoFugbix typo.
Sebastian Bergmann [Fri, 16 Mar 2007 06:41:24 +0000 (06:41 +0000)]
Fugbix typo.

17 years agofix #40805 (Failure executing function ibase_execute())
Antony Dovgal [Thu, 15 Mar 2007 22:33:04 +0000 (22:33 +0000)]
fix #40805 (Failure executing function ibase_execute())

17 years agoBFN
Antony Dovgal [Thu, 15 Mar 2007 16:44:35 +0000 (16:44 +0000)]
BFN

17 years agofix #40815 (using strings like "class::func" and static methods in set_exception_hand...
Antony Dovgal [Thu, 15 Mar 2007 16:44:12 +0000 (16:44 +0000)]
fix #40815 (using strings like "class::func" and static methods in set_exception_handler() might result in crash)

17 years agoMFH: remove unnecessary warning in case of exception
Antony Dovgal [Wed, 14 Mar 2007 23:47:44 +0000 (23:47 +0000)]
MFH: remove unnecessary warning in case of exception

17 years agoFixed MOPB-22-2007:PHP session_regenerate_id() Double Free Vulnerability
Ilia Alshanetsky [Wed, 14 Mar 2007 19:37:07 +0000 (19:37 +0000)]
Fixed MOPB-22-2007:PHP session_regenerate_id() Double Free Vulnerability

# Discovered by Stefan Esser

17 years agoMFH: fix #40750 (openssl stream wrapper ignores default_stream_timeout)
Antony Dovgal [Wed, 14 Mar 2007 19:22:14 +0000 (19:22 +0000)]
MFH: fix #40750 (openssl stream wrapper ignores default_stream_timeout)

17 years ago- leak in extract
Pierre Joye [Wed, 14 Mar 2007 16:36:16 +0000 (16:36 +0000)]
- leak in extract

17 years ago- add ::open to the safemode check entry
Pierre Joye [Wed, 14 Mar 2007 15:10:37 +0000 (15:10 +0000)]
- add ::open to the safemode check entry

17 years agoFixed a possible memory leak on open_basedir validation
Ilia Alshanetsky [Wed, 14 Mar 2007 15:02:20 +0000 (15:02 +0000)]
Fixed a possible memory leak on open_basedir validation

17 years ago- MFH: openbasedir and safemode check in ::open()
Pierre Joye [Wed, 14 Mar 2007 12:06:20 +0000 (12:06 +0000)]
- MFH: openbasedir and safemode check in ::open()

17 years agoBFN
Antony Dovgal [Wed, 14 Mar 2007 11:58:18 +0000 (11:58 +0000)]
BFN

17 years agoMFH: fix #40800 (cannot disable memory_limit with -1)
Antony Dovgal [Wed, 14 Mar 2007 11:58:05 +0000 (11:58 +0000)]
MFH: fix #40800 (cannot disable memory_limit with -1)

17 years ago- Changed message handler also to handle message #11021
Timm Friebe [Wed, 14 Mar 2007 11:57:45 +0000 (11:57 +0000)]
- Changed message handler also to handle message #11021
- Adjusted expected output
# Seems newer Sybase versions yielf different error codes for getdate(NULL)

17 years ago- Fixed segmentation fault in sybase_connect()
Timm Friebe [Wed, 14 Mar 2007 11:48:49 +0000 (11:48 +0000)]
- Fixed segmentation fault in sybase_connect()
# This was introduced by changing sprintf -> spprintf and resulted
# from passing a char* to spprintf() instead of a char**

17 years ago- Changed expected output
Timm Friebe [Wed, 14 Mar 2007 11:46:06 +0000 (11:46 +0000)]
- Changed expected output
# select getdate() returns something like "Mar 14 2007 12:44PM", we
# were checking for one additional (nonexistant) whitespace after "Mar"
# which was wrong. Don`t know when and how this changed

17 years ago- Changed expected output
Timm Friebe [Wed, 14 Mar 2007 11:44:24 +0000 (11:44 +0000)]
- Changed expected output
# Due to var_export() & __set_state() changes

17 years ago- MFH: Fixed possible relative path issues in zip_open in TS mode (old API)
Pierre Joye [Wed, 14 Mar 2007 11:32:25 +0000 (11:32 +0000)]
- MFH: Fixed possible relative path issues in zip_open in TS mode (old API)

17 years ago- rename SAFEMODE_CHECKFILE to OPENBASEDIR_CHECKPATH (can be used without
Pierre Joye [Wed, 14 Mar 2007 11:08:57 +0000 (11:08 +0000)]
- rename SAFEMODE_CHECKFILE to OPENBASEDIR_CHECKPATH (can be used without
  confusing in head without confusion)
- Add safemode and open basedir checks in zip:// wrapper (revert Ilia's
  patch). Bug found by Stefan Esser in his MOPB-20-2007

17 years ago- add more cases for getComment
Pierre Joye [Wed, 14 Mar 2007 11:02:29 +0000 (11:02 +0000)]
- add more cases for getComment

17 years agoTypo
Martin Kraemer [Wed, 14 Mar 2007 09:58:14 +0000 (09:58 +0000)]
Typo

17 years agoAdded missing open_basedir & safe_mode checks to zip:// and bzip://
Ilia Alshanetsky [Wed, 14 Mar 2007 03:50:18 +0000 (03:50 +0000)]
Added missing open_basedir & safe_mode checks to zip:// and bzip://
wrappers.

Issues idendtified by MOPB-20 and MOPB-21

17 years agofix odbc resource handling, patch by Dave Lawson
Stanislav Malyshev [Tue, 13 Mar 2007 00:04:38 +0000 (00:04 +0000)]
fix odbc resource handling, patch by Dave Lawson

17 years agoreturn false instead of empty string when -length is greater than (len - offset)
Antony Dovgal [Mon, 12 Mar 2007 23:42:26 +0000 (23:42 +0000)]
return false instead of empty string when -length is greater than (len - offset)

17 years agomalloc() -> pemalloc()
Ilia Alshanetsky [Mon, 12 Mar 2007 23:21:41 +0000 (23:21 +0000)]
malloc() -> pemalloc()

17 years agoMFH
Antony Dovgal [Mon, 12 Mar 2007 20:55:15 +0000 (20:55 +0000)]
MFH

17 years agosynchronize iconv_substr() behavior with substr()
Antony Dovgal [Mon, 12 Mar 2007 19:34:26 +0000 (19:34 +0000)]
synchronize iconv_substr() behavior with substr()
no MFB so far, since substr() changes are not MFBed either

17 years agoFixed bug #40770 (Apache child exits when PHP memory limit reached)
Dmitry Stogov [Mon, 12 Mar 2007 16:59:52 +0000 (16:59 +0000)]
Fixed bug #40770 (Apache child exits when PHP memory limit reached)

17 years agoBFN
Antony Dovgal [Mon, 12 Mar 2007 13:10:55 +0000 (13:10 +0000)]
BFN

17 years agoMFH: fix #40784 (Case sensivity in constructor's fallback)
Antony Dovgal [Mon, 12 Mar 2007 13:10:40 +0000 (13:10 +0000)]
MFH: fix #40784 (Case sensivity in constructor's fallback)

17 years agoFixed compilation warning
Dmitry Stogov [Mon, 12 Mar 2007 07:39:01 +0000 (07:39 +0000)]
Fixed compilation warning

17 years agoLib upgrade news
Edin Kadribasic [Mon, 12 Mar 2007 03:10:08 +0000 (03:10 +0000)]
Lib upgrade news

17 years agomalloc() -> pemalloc()
Ilia Alshanetsky [Sun, 11 Mar 2007 18:42:19 +0000 (18:42 +0000)]
malloc() -> pemalloc()

17 years agoMFH
Antony Dovgal [Sun, 11 Mar 2007 12:56:44 +0000 (12:56 +0000)]
MFH

17 years agofix tests
Antony Dovgal [Sun, 11 Mar 2007 12:54:54 +0000 (12:54 +0000)]
fix tests

17 years agoRe-added check removed by the previous patch
Ilia Alshanetsky [Sat, 10 Mar 2007 20:07:50 +0000 (20:07 +0000)]
Re-added check removed by the previous patch

17 years agoAdded additional checks for long input arrays inside
Ilia Alshanetsky [Sat, 10 Mar 2007 19:20:16 +0000 (19:20 +0000)]
Added additional checks for long input arrays inside
import_request_variables().

# Missing checks identified by Stefan Esser

17 years ago- MFH: CVE-2007-1001, integer overflow with invalid wbmp images
Pierre Joye [Sat, 10 Mar 2007 12:18:36 +0000 (12:18 +0000)]
- MFH: CVE-2007-1001, integer overflow with invalid wbmp images

17 years ago- #40764, line thickness not respected for horizontal and vertical lines
Pierre Joye [Sat, 10 Mar 2007 01:13:19 +0000 (01:13 +0000)]
- #40764, line thickness not respected for horizontal and vertical lines
 - add test
 - NEWS entry

17 years agoadd testcase
Stanislav Malyshev [Fri, 9 Mar 2007 18:37:03 +0000 (18:37 +0000)]
add testcase

17 years agoReturn HTTP 403 in case of "access denied".
Dmitry Stogov [Fri, 9 Mar 2007 16:46:07 +0000 (16:46 +0000)]
Return HTTP 403 in case of "access denied".

17 years agofix substr()
Antony Dovgal [Fri, 9 Mar 2007 10:04:59 +0000 (10:04 +0000)]
fix substr()
it's perfectly legal to do substr("str", 0, 1000000);

17 years agofix tests
Antony Dovgal [Fri, 9 Mar 2007 09:45:14 +0000 (09:45 +0000)]
fix tests

17 years agoFixed bug #40754 (added substr() & substr_replace() overflow checks).
Ilia Alshanetsky [Fri, 9 Mar 2007 01:58:34 +0000 (01:58 +0000)]
Fixed bug #40754 (added substr() & substr_replace() overflow checks).

17 years agoAdd _SESSION to checklist
Ilia Alshanetsky [Fri, 9 Mar 2007 01:48:56 +0000 (01:48 +0000)]
Add _SESSION to checklist

17 years agoFixed a possible super-global overwrite inside import_request_variables().
Ilia Alshanetsky [Fri, 9 Mar 2007 01:42:20 +0000 (01:42 +0000)]
Fixed a possible super-global overwrite inside import_request_variables().

# Reported by Stefano Di Paola

17 years agoOff by ! in the url control char check for file:/// urls
Rasmus Lerdorf [Fri, 9 Mar 2007 01:20:34 +0000 (01:20 +0000)]
Off by ! in the url control char check for file:/// urls

17 years ago- #40764, line thickness not respected for horizontal and vertical lines
Pierre Joye [Fri, 9 Mar 2007 01:18:40 +0000 (01:18 +0000)]
- #40764, line thickness not respected for horizontal and vertical lines

17 years agomore fixes
Stanislav Malyshev [Thu, 8 Mar 2007 22:53:37 +0000 (22:53 +0000)]
more fixes

17 years agofix crash/leak in bug #38710
Stanislav Malyshev [Thu, 8 Mar 2007 22:49:53 +0000 (22:49 +0000)]
fix crash/leak in bug #38710

17 years agoadd news
Stanislav Malyshev [Thu, 8 Mar 2007 22:44:22 +0000 (22:44 +0000)]
add news

17 years agoBFN: gd gif reading
Nuno Lopes [Thu, 8 Mar 2007 22:04:33 +0000 (22:04 +0000)]
BFN: gd gif reading

17 years agofix crash on $x['x']['y'] += 1, patch by Brian Shire
Stanislav Malyshev [Thu, 8 Mar 2007 20:59:31 +0000 (20:59 +0000)]
fix crash on $x['x']['y'] += 1, patch by Brian Shire

17 years agofix thread unsafety in the gif reader code (merge from libgd cvs)
Nuno Lopes [Thu, 8 Mar 2007 20:24:53 +0000 (20:24 +0000)]
fix thread unsafety in the gif reader code (merge from libgd cvs)

17 years agoclarify checks and error messages
Stanislav Malyshev [Thu, 8 Mar 2007 00:47:04 +0000 (00:47 +0000)]
clarify checks and error messages

17 years agoMFH: fix #40752 (parse_ini_file() segfaults when a scalar setting is redeclared as...
Antony Dovgal [Thu, 8 Mar 2007 00:44:23 +0000 (00:44 +0000)]
MFH: fix #40752 (parse_ini_file() segfaults when a scalar setting is redeclared as an array)

17 years agoImproved length parameter validation
Ilia Alshanetsky [Thu, 8 Mar 2007 00:18:10 +0000 (00:18 +0000)]
Improved length parameter validation

17 years agoImproved offset validation
Ilia Alshanetsky [Thu, 8 Mar 2007 00:06:41 +0000 (00:06 +0000)]
Improved offset validation

17 years agofix MOPB#14
Stanislav Malyshev [Wed, 7 Mar 2007 18:15:46 +0000 (18:15 +0000)]
fix MOPB#14
# The error message seems wrong, so maybe better fix is needed

17 years agofix small typo
Antony Dovgal [Wed, 7 Mar 2007 09:36:22 +0000 (09:36 +0000)]
fix small typo
add --with-zlib-dir option (and simple automagic zlib detection)

17 years agoMFH: fix #40727 (segfault in PDO when failed to bind parameters)
Antony Dovgal [Wed, 7 Mar 2007 09:03:07 +0000 (09:03 +0000)]
MFH: fix #40727 (segfault in PDO when failed to bind parameters)

17 years agoFixed calloc wrapper
Ilia Alshanetsky [Wed, 7 Mar 2007 00:55:49 +0000 (00:55 +0000)]
Fixed calloc wrapper

17 years agomalloc() -> pemalloc()
Ilia Alshanetsky [Wed, 7 Mar 2007 00:52:40 +0000 (00:52 +0000)]
malloc() -> pemalloc()

17 years agoAdd checks around raw allocation code
Ilia Alshanetsky [Wed, 7 Mar 2007 00:47:42 +0000 (00:47 +0000)]
Add checks around raw allocation code

17 years ago- Updated timezone database to version 2007.3. (Derick)
Derick Rethans [Tue, 6 Mar 2007 21:28:37 +0000 (21:28 +0000)]
- Updated timezone database to version 2007.3. (Derick)

17 years agoMFH
Antony Dovgal [Tue, 6 Mar 2007 21:08:05 +0000 (21:08 +0000)]
MFH

17 years agouse the aliases and eliminate one more compile warning
Antony Dovgal [Tue, 6 Mar 2007 21:04:27 +0000 (21:04 +0000)]
use the aliases and eliminate one more compile warning

17 years agoMFH: declare zend_mm_random() only when needed
Antony Dovgal [Tue, 6 Mar 2007 20:59:13 +0000 (20:59 +0000)]
MFH: declare zend_mm_random() only when needed

17 years agoremove (large) static buffers for header names and request uri
Uwe Schindler [Tue, 6 Mar 2007 18:15:25 +0000 (18:15 +0000)]
remove (large) static buffers for header names and request uri

17 years agouse slprintf instead of snprintf and remove 0termination things (because slprintf...
Uwe Schindler [Tue, 6 Mar 2007 15:43:49 +0000 (15:43 +0000)]
use slprintf instead of snprintf and remove 0termination things (because slprintf is always available now)

17 years agoMFH
Antony Dovgal [Tue, 6 Mar 2007 10:13:54 +0000 (10:13 +0000)]
MFH

17 years agoAdded missing allocation checks
Ilia Alshanetsky [Tue, 6 Mar 2007 03:15:41 +0000 (03:15 +0000)]
Added missing allocation checks

17 years agouse safe_realloc
Stanislav Malyshev [Tue, 6 Mar 2007 02:17:13 +0000 (02:17 +0000)]
use safe_realloc

17 years agouse safe_realloc
Stanislav Malyshev [Tue, 6 Mar 2007 02:10:25 +0000 (02:10 +0000)]
use safe_realloc

17 years agouse safe_erealloc
Stanislav Malyshev [Tue, 6 Mar 2007 02:03:28 +0000 (02:03 +0000)]
use safe_erealloc

17 years ago- Revert last part and fix issue under windows
Marcus Boerger [Tue, 6 Mar 2007 01:19:47 +0000 (01:19 +0000)]
- Revert last part and fix issue under windows

17 years ago- And the sizes too
Marcus Boerger [Tue, 6 Mar 2007 01:14:38 +0000 (01:14 +0000)]
- And the sizes too

17 years ago- More to go
Marcus Boerger [Tue, 6 Mar 2007 01:13:21 +0000 (01:13 +0000)]
- More to go
# CVS sucks, you cannot mix -D with -r
# However, thanks edin for reminding me that we have mini version tags
# I still prefer subverison. There we don't have any problem of this kind

17 years ago- There you go
Marcus Boerger [Tue, 6 Mar 2007 01:00:51 +0000 (01:00 +0000)]
- There you go

17 years ago- MFH Revert back to sprintf (we could define snprintf for windows but we don't)
Marcus Boerger [Tue, 6 Mar 2007 00:56:42 +0000 (00:56 +0000)]
- MFH Revert back to sprintf (we could define snprintf for windows but we don't)

17 years agoFixed bug #40417 (Allow multiple instances of the same named PDO token in
Ilia Alshanetsky [Tue, 6 Mar 2007 00:52:55 +0000 (00:52 +0000)]
Fixed bug #40417 (Allow multiple instances of the same named PDO token in
prepared statement emulation code).

17 years agofix broken snprintf code
Stanislav Malyshev [Tue, 6 Mar 2007 00:24:00 +0000 (00:24 +0000)]
fix broken snprintf code

17 years agouse safe_emalloc
Stanislav Malyshev [Mon, 5 Mar 2007 21:54:46 +0000 (21:54 +0000)]
use safe_emalloc

17 years agosnprintf patch
Uwe Schindler [Mon, 5 Mar 2007 16:29:18 +0000 (16:29 +0000)]
snprintf patch

17 years agoFixed bug #35872 (Prevent object store references during RSHUTDOWN)
andy wharmby [Mon, 5 Mar 2007 15:49:00 +0000 (15:49 +0000)]
Fixed bug #35872 (Prevent object store references during RSHUTDOWN)

17 years agoBFN
Michael Wallner [Mon, 5 Mar 2007 14:10:27 +0000 (14:10 +0000)]
BFN

17 years ago- fix ws as requested by derick
Michael Wallner [Mon, 5 Mar 2007 14:10:18 +0000 (14:10 +0000)]
- fix ws as requested by derick

17 years ago- fix bug #40691: add comparison object handler
Michael Wallner [Mon, 5 Mar 2007 14:05:55 +0000 (14:05 +0000)]
- fix bug #40691: add comparison object handler

17 years agoFixed bug #40703 (Resolved a possible namespace conflict between libxmlrpc
Ilia Alshanetsky [Sun, 4 Mar 2007 18:24:49 +0000 (18:24 +0000)]
Fixed bug #40703 (Resolved a possible namespace conflict between libxmlrpc
and MySQL's NDB table handler).

17 years agoFixed bug #40709 (array_reduce() behaves strange with one item stored
Ilia Alshanetsky [Sun, 4 Mar 2007 17:21:16 +0000 (17:21 +0000)]
Fixed bug #40709 (array_reduce() behaves strange with one item stored
arrays).