]> granicus.if.org Git - php/log
php
14 years ago- path len check and fix buffer overrun
Pierre Joye [Wed, 19 Jan 2011 14:21:46 +0000 (14:21 +0000)]
- path len check and fix buffer overrun

14 years agoWin32 build fix
Ilia Alshanetsky [Wed, 19 Jan 2011 13:09:05 +0000 (13:09 +0000)]
Win32 build fix

14 years agoAdded checks for malformated FastCGI requests (Edgar Frank)
Dmitry Stogov [Wed, 19 Jan 2011 08:38:25 +0000 (08:38 +0000)]
Added checks for malformated FastCGI requests (Edgar Frank)

14 years ago- Hopefully finally fixed the mess in rev 307562 and rev 307563.
Gustavo André dos Santos Lopes [Wed, 19 Jan 2011 00:22:06 +0000 (00:22 +0000)]
- Hopefully finally fixed the mess in rev 307562 and rev 307563.

14 years ago- fix regression introduced in 5.3.4 in open_basedir on windows/novell with trailing...
Pierre Joye [Tue, 18 Jan 2011 22:20:09 +0000 (22:20 +0000)]
- fix regression introduced in 5.3.4 in open_basedir on windows/novell with trailing fwd slash

14 years ago- Fixed wrong function call in original commit to FR #39771.
Gustavo André dos Santos Lopes [Tue, 18 Jan 2011 19:56:09 +0000 (19:56 +0000)]
- Fixed wrong function call in original commit to FR #39771.

14 years ago- Implemented FR #39771 (Made DOMDocument::saveHTML accept an optional
Gustavo André dos Santos Lopes [Tue, 18 Jan 2011 19:45:38 +0000 (19:45 +0000)]
- Implemented FR #39771 (Made DOMDocument::saveHTML accept an optional
  DOMNode like DOMDocument::saveXML).

14 years agoFixed variable re-declaration
Ilia Alshanetsky [Tue, 18 Jan 2011 13:17:23 +0000 (13:17 +0000)]
Fixed variable re-declaration

14 years ago- fix the fix (wrong test)
Pierre Joye [Tue, 18 Jan 2011 10:29:26 +0000 (10:29 +0000)]
- fix the fix (wrong test)

14 years ago- Enforce security in the fastcgi protocol parsing.
Jérôme Loyet [Mon, 17 Jan 2011 22:22:39 +0000 (22:22 +0000)]
- Enforce security in the fastcgi protocol parsing.

14 years ago- path len sanity check
Pierre Joye [Mon, 17 Jan 2011 14:29:16 +0000 (14:29 +0000)]
- path len sanity check

14 years ago- don't try to access if calloc fails (quick review of its usage: seems that the...
Pierre Joye [Mon, 17 Jan 2011 14:07:40 +0000 (14:07 +0000)]
- don't try to access if calloc fails (quick review of its usage: seems that the stats member is validated in other places, to be confirmed)

14 years ago- fix NULL derefencing
Pierre Joye [Mon, 17 Jan 2011 14:01:01 +0000 (14:01 +0000)]
- fix NULL derefencing

14 years agoFixed compiler warning
Ilia Alshanetsky [Mon, 17 Jan 2011 13:44:54 +0000 (13:44 +0000)]
Fixed compiler warning

14 years agoFix tests: don't expect people to use a certain db/schema for testing
Ulf Wendel [Mon, 17 Jan 2011 13:06:44 +0000 (13:06 +0000)]
Fix tests: don't expect people to use a certain db/schema for testing

14 years agoAdded 'catalog' to the field fetching functions in mysqli (Thanks to Johannes for...
Kalle Sommer Nielsen [Mon, 17 Jan 2011 10:43:53 +0000 (10:43 +0000)]
Added 'catalog' to the field fetching functions in mysqli (Thanks to Johannes for the headsup)

14 years agoRemove this void comment (c/p mistake)
Kalle Sommer Nielsen [Mon, 17 Jan 2011 09:59:07 +0000 (09:59 +0000)]
Remove this void comment (c/p mistake)

14 years agoMFT: Implemented FR #47802 (Support for setting character sets in DSN strings)
Kalle Sommer Nielsen [Mon, 17 Jan 2011 09:54:22 +0000 (09:54 +0000)]
MFT: Implemented FR #47802 (Support for setting character sets in DSN strings)

14 years agoFix bug #47143, bug #51458 - provide more useful info in bad exception cases
Stanislav Malyshev [Sun, 16 Jan 2011 21:24:43 +0000 (21:24 +0000)]
Fix bug #47143, bug #51458 - provide more useful info in bad exception cases

14 years agoAdd options to debug_backtrace functions
Stanislav Malyshev [Sun, 16 Jan 2011 20:39:22 +0000 (20:39 +0000)]
Add options to debug_backtrace functions

14 years agoFix mysqlnd build
Kalle Sommer Nielsen [Sun, 16 Jan 2011 15:44:48 +0000 (15:44 +0000)]
Fix mysqlnd build

14 years agoUpdate on the mysqlnd auth plugins, changed the plugin
Andrey Hristov [Fri, 14 Jan 2011 20:04:17 +0000 (20:04 +0000)]
Update on the mysqlnd auth plugins, changed the plugin
structure and where they load themselves.
0xFE packets (method switch) needs to be done, additional
wire-level packet to be created to be parsed and the packet
doesn't fit the PACKET_OK structure anymore.

14 years agomerge from branch
Andrey Hristov [Fri, 14 Jan 2011 20:02:49 +0000 (20:02 +0000)]
merge from branch

14 years ago- Fix #53551 (PDOStatement execute segfaults for pdo_mysql driver)
Johannes Schlüter [Fri, 14 Jan 2011 14:57:57 +0000 (14:57 +0000)]
- Fix #53551 (PDOStatement execute segfaults for pdo_mysql driver)

14 years agoadd missing dl() function to FPM SAPI
Antony Dovgal [Fri, 14 Jan 2011 13:53:59 +0000 (13:53 +0000)]
add missing dl() function to FPM SAPI

14 years agoChange things to allow passing of the password length
Andrey Hristov [Fri, 14 Jan 2011 13:00:42 +0000 (13:00 +0000)]
Change things to allow passing of the password length
to mysqlnd. This is needed as a password might include
a \0 and thus we need to be binary safe.

14 years agogcc barks about these, so clean it
Andrey Hristov [Fri, 14 Jan 2011 12:32:27 +0000 (12:32 +0000)]
gcc barks about these, so clean it

14 years agoFixed variable re-declaration
Ilia Alshanetsky [Thu, 13 Jan 2011 12:56:28 +0000 (12:56 +0000)]
Fixed variable re-declaration

14 years agointl: Add Spoofchecker cloning, fix typo in prototype, rename some variables and...
Scott MacVicar [Thu, 13 Jan 2011 07:46:59 +0000 (07:46 +0000)]
intl: Add Spoofchecker cloning, fix typo in prototype, rename some variables and tidy syntax.

14 years agoAdd Spoofchecker to intl extension.
Scott MacVicar [Thu, 13 Jan 2011 06:53:09 +0000 (06:53 +0000)]
Add Spoofchecker to intl extension.

Implements part of Unicode TR36 and TR39

14 years ago- Fixed bug #53717 (checking the number of arguments is wrong in zend_parse_method_pa...
Felipe Pena [Wed, 12 Jan 2011 22:17:10 +0000 (22:17 +0000)]
- Fixed bug #53717 (checking the number of arguments is wrong in zend_parse_method_parameters_ex())
  patch by: klaus at triendl dot eu

14 years agogrok the MySQL 5.5 extended handshake.
Andrey Hristov [Wed, 12 Jan 2011 21:40:05 +0000 (21:40 +0000)]
grok the MySQL 5.5 extended handshake.
Move the authentication routines, the native ones, to
separate file and encapsulate them in a plugin.
Depending on the server version and what the server
requests (or doesn't in old versions) load the authentication
plugin to handle it.
Currently only the 4.1+ authentication is supported. More to come

14 years ago- Fixed bug #53729 (DatePeriod fails to initialize recurrences on 64bit
Derick Rethans [Wed, 12 Jan 2011 19:50:09 +0000 (19:50 +0000)]
- Fixed bug #53729 (DatePeriod fails to initialize recurrences on 64bit
  big-endian systems). (Patch by rein@basefarm.no)

14 years agoFixed variable re-declaration
Ilia Alshanetsky [Wed, 12 Jan 2011 13:21:27 +0000 (13:21 +0000)]
Fixed variable re-declaration

14 years ago- Fixed compiler warnings
Felipe Pena [Wed, 12 Jan 2011 00:29:59 +0000 (00:29 +0000)]
- Fixed compiler warnings

14 years agoUse common code to handle initial authentication and
Andrey Hristov [Tue, 11 Jan 2011 13:02:57 +0000 (13:02 +0000)]
Use common code to handle initial authentication and
COM_CHANGE_USER

14 years agoAdded missing success check around chmod() for windows during temp file creation
Ilia Alshanetsky [Tue, 11 Jan 2011 12:57:19 +0000 (12:57 +0000)]
Added missing success check around chmod() for windows during temp file creation

14 years ago- do not enable analyzer for snapshot
Pierre Joye [Mon, 10 Jan 2011 21:04:50 +0000 (21:04 +0000)]
- do not enable analyzer for snapshot

14 years agoFixed bug #53630 (Fixed parameter handling inside readline() function).
Ilia Alshanetsky [Mon, 10 Jan 2011 18:19:02 +0000 (18:19 +0000)]
Fixed bug #53630 (Fixed parameter handling inside readline() function).

14 years agoplug a leak
Andrey Hristov [Mon, 10 Jan 2011 15:28:52 +0000 (15:28 +0000)]
plug a leak

14 years agonew flag
Andrey Hristov [Mon, 10 Jan 2011 15:14:56 +0000 (15:14 +0000)]
new flag

14 years ago- remove local redeclaration
Pierre Joye [Mon, 10 Jan 2011 08:28:47 +0000 (08:28 +0000)]
- remove local redeclaration

14 years ago- possible NULL deref
Pierre Joye [Mon, 10 Jan 2011 08:07:38 +0000 (08:07 +0000)]
- possible NULL deref

14 years ago- local redeclaration
Pierre Joye [Mon, 10 Jan 2011 01:04:36 +0000 (01:04 +0000)]
- local redeclaration

14 years ago- WS
Pierre Joye [Mon, 10 Jan 2011 00:59:19 +0000 (00:59 +0000)]
- WS

14 years ago- some more possible NULL deref
Pierre Joye [Mon, 10 Jan 2011 00:43:08 +0000 (00:43 +0000)]
- some more possible NULL deref

14 years ago- fix possible NULL deref
Pierre Joye [Mon, 10 Jan 2011 00:30:07 +0000 (00:30 +0000)]
- fix possible NULL deref

14 years ago- add configure option to enable the builtin static analyzer (will be enabled for...
Pierre Joye [Sun, 9 Jan 2011 21:38:46 +0000 (21:38 +0000)]
- add configure option to enable the builtin static analyzer (will be enabled for snaps' log)

14 years agoAdded trait_exists() [TRAITS] [DOC]
Stefan Marr [Sun, 9 Jan 2011 19:57:41 +0000 (19:57 +0000)]
Added trait_exists() [TRAITS] [DOC]

- also changed class_exists() to return false for traits
- added related tests, and get_declared_traits() tests in ext/s/t/co

14 years ago- let try to fix pecl header install so we can do the same than unix, install them...
Pierre Joye [Sun, 9 Jan 2011 14:01:21 +0000 (14:01 +0000)]
- let try to fix pecl header install so we can do the same than unix, install them in ext/<extname> instead of pecl<extname>

14 years agoadded an option to http_build_query for RFC-3986
Rui Hirokawa [Sat, 8 Jan 2011 02:21:44 +0000 (02:21 +0000)]
added an option to http_build_query for RFC-3986
based url-encoding.

14 years ago- enable ASLR and NXCOMPAT by default
Pierre Joye [Fri, 7 Jan 2011 20:50:33 +0000 (20:50 +0000)]
- enable ASLR and NXCOMPAT by default

14 years agoImplemented FR #39847 (mysqli_fetch_[field|fields|field_direct] need to return db)
Kalle Sommer Nielsen [Fri, 7 Jan 2011 18:25:55 +0000 (18:25 +0000)]
Implemented FR #39847 (mysqli_fetch_[field|fields|field_direct] need to return db)

14 years agoAdded test case for #47802 and fixed macro name after the move to mysql_options()
Kalle Sommer Nielsen [Fri, 7 Jan 2011 17:18:30 +0000 (17:18 +0000)]
Added test case for #47802 and fixed macro name after the move to mysql_options()

14 years ago- define the php*.lib/dll names
Pierre Joye [Fri, 7 Jan 2011 15:51:36 +0000 (15:51 +0000)]
- define the php*.lib/dll names

14 years agoUpdate to use mysql_options() instead of mysql_set_character_set() (As suggested...
Kalle Sommer Nielsen [Fri, 7 Jan 2011 14:58:23 +0000 (14:58 +0000)]
Update to use mysql_options() instead of mysql_set_character_set() (As suggested by Andrey)

14 years ago- missing add header
Pierre Joye [Fri, 7 Jan 2011 14:57:51 +0000 (14:57 +0000)]
- missing add header

14 years agoImplemented FR #47802, support for character sets in DSN strings for PDO_MYSQL
Kalle Sommer Nielsen [Fri, 7 Jan 2011 14:39:56 +0000 (14:39 +0000)]
Implemented FR #47802, support for character sets in DSN strings for PDO_MYSQL

14 years agoProper fix for
Andrey Hristov [Fri, 7 Jan 2011 14:22:30 +0000 (14:22 +0000)]
Proper fix for
Bug #53503      mysqli::query returns false after successful LOAD DATA query
which fixes als #56349, same behavior but in ext/mysql. Both due to a bug
in mysqlnd. Never was a problem with libmysql.
Also fixed the 53503's test case as it always reported PASS, even when there
should have been a failure.

14 years agoImplement request #53684 (Deprecated HTML in sample php.ini).
Adam Harvey [Fri, 7 Jan 2011 03:43:20 +0000 (03:43 +0000)]
Implement request #53684 (Deprecated HTML in sample php.ini).

14 years ago- Fixed memory leak on SQLite3Result and SQLite3Stmt when assigning to a reference.
Felipe Pena [Fri, 7 Jan 2011 01:11:16 +0000 (01:11 +0000)]
- Fixed memory leak on SQLite3Result and SQLite3Stmt when assigning to a reference.

14 years agoFix bug #53682
Rasmus Lerdorf [Thu, 6 Jan 2011 22:48:20 +0000 (22:48 +0000)]
Fix bug #53682

14 years agoImplement request #53659 (Implementing RegexIterator::getRegex() method). Patch
Adam Harvey [Thu, 6 Jan 2011 02:32:02 +0000 (02:32 +0000)]
Implement request #53659 (Implementing RegexIterator::getRegex() method). Patch
by Joshua Thijssen.

14 years agoRemove empty files left when r306542 was reverted in r306552.
Adam Harvey [Thu, 6 Jan 2011 02:24:49 +0000 (02:24 +0000)]
Remove empty files left when r306542 was reverted in r306552.

14 years agoImplemented FR #53466 (SQLite3Result::columnType() should return false after all...
Scott MacVicar [Thu, 6 Jan 2011 00:08:59 +0000 (00:08 +0000)]
Implemented FR #53466 (SQLite3Result::columnType() should return false after all of the rows have been fetched).

14 years agoImplement SplObjectStorage::removeAllExcept (Patch by Matthey Turland)
Etienne Kneuss [Wed, 5 Jan 2011 15:01:18 +0000 (15:01 +0000)]
Implement SplObjectStorage::removeAllExcept (Patch by Matthey Turland)

14 years agoAdded test
Ilia Alshanetsky [Wed, 5 Jan 2011 14:41:50 +0000 (14:41 +0000)]
Added test

14 years agoOptimize unix timestamp to date-string conversion for very high year values
Ilia Alshanetsky [Wed, 5 Jan 2011 04:13:23 +0000 (04:13 +0000)]
Optimize unix timestamp to date-string conversion for very high year values

14 years ago- revert rev. 307044
Pierre Joye [Wed, 5 Jan 2011 00:59:31 +0000 (00:59 +0000)]
- revert rev. 307044

14 years agoAdd test for bug #53632
Scott MacVicar [Tue, 4 Jan 2011 23:36:56 +0000 (23:36 +0000)]
Add test for bug #53632

14 years agoFix bug #53632 with x87 fpu
Scott MacVicar [Tue, 4 Jan 2011 22:36:23 +0000 (22:36 +0000)]
Fix bug #53632 with x87 fpu

14 years ago- Fixed tests
Felipe Pena [Tue, 4 Jan 2011 22:01:09 +0000 (22:01 +0000)]
- Fixed tests

14 years agofix unit tests for intl in accordance with new ICU releases
Stanislav Malyshev [Tue, 4 Jan 2011 03:24:38 +0000 (03:24 +0000)]
fix unit tests for intl in accordance with new ICU releases

14 years agoFixed linking of extensions that would use a static .lib file (libname_a.lib rather...
Kalle Sommer Nielsen [Mon, 3 Jan 2011 23:08:47 +0000 (23:08 +0000)]
Fixed linking of extensions that would use a static .lib file (libname_a.lib rather than libname.lib)

# This fixes `configure --with-mcrypt=shared' to properly find and
# link against libmcrypt.lib rather than libmcrypt_a.lib

14 years ago- useless commented code
Pierre Joye [Mon, 3 Jan 2011 20:38:21 +0000 (20:38 +0000)]
- useless commented code

14 years agoChange DEBUG() to TIMELIB_DEBUG(), there are potential conflicts with other libraries...
Scott MacVicar [Mon, 3 Jan 2011 19:24:04 +0000 (19:24 +0000)]
Change DEBUG() to TIMELIB_DEBUG(), there are potential conflicts with other libraries that also use this.

14 years agoFix error with initialisation flag being set too early. If encryption is enabled...
Scott MacVicar [Mon, 3 Jan 2011 19:15:36 +0000 (19:15 +0000)]
Fix error with initialisation flag being set too early. If encryption is enabled and fails to decrypt a crash can occur.

Also fix a WS error.

14 years ago- slightly cleaner
Pierre Joye [Mon, 3 Jan 2011 15:36:39 +0000 (15:36 +0000)]
- slightly cleaner

14 years ago- fix crash when argc > 1 and to_zval is NULL (thx tony for the headup)
Pierre Joye [Mon, 3 Jan 2011 15:35:01 +0000 (15:35 +0000)]
- fix crash when argc > 1 and to_zval is NULL (thx tony for the headup)

14 years agoFixed Bug #53629 (memory leak inside highlight_string()).
Ilia Alshanetsky [Mon, 3 Jan 2011 14:39:48 +0000 (14:39 +0000)]
Fixed Bug #53629 (memory leak inside highlight_string()).

14 years ago- kill c++ comment
Pierre Joye [Mon, 3 Jan 2011 09:33:27 +0000 (09:33 +0000)]
- kill c++ comment

14 years ago- stream output support for image outputs functions
Pierre Joye [Mon, 3 Jan 2011 09:22:58 +0000 (09:22 +0000)]
- stream output support for image outputs functions

14 years agoImlement clone for formatters that support it
Stanislav Malyshev [Mon, 3 Jan 2011 03:58:57 +0000 (03:58 +0000)]
Imlement clone for formatters that support it
# also some test fixes, more to follow

14 years ago- missing file
Pierre Joye [Mon, 3 Jan 2011 01:22:00 +0000 (01:22 +0000)]
- missing file

14 years ago- we need the core config.w32 only once
Pierre Joye [Mon, 3 Jan 2011 01:08:21 +0000 (01:08 +0000)]
- we need the core config.w32 only once

14 years ago- silent copy
Pierre Joye [Mon, 3 Jan 2011 01:07:28 +0000 (01:07 +0000)]
- silent copy

14 years ago- use the ext deps list for phpize's ADD_EXTENSION_DEP function
Pierre Joye [Sun, 2 Jan 2011 18:29:56 +0000 (18:29 +0000)]
- use the ext deps list for phpize's ADD_EXTENSION_DEP function

14 years ago- typo
Pierre Joye [Sun, 2 Jan 2011 18:13:20 +0000 (18:13 +0000)]
- typo

14 years ago- generate a list of ext and how they are built, should be updated by phpize'd make...
Pierre Joye [Sun, 2 Jan 2011 18:03:00 +0000 (18:03 +0000)]
- generate a list of ext and how they are built, should be updated by phpize'd make (un)install as well, later

14 years ago- missing file
Pierre Joye [Sat, 1 Jan 2011 20:00:10 +0000 (20:00 +0000)]
- missing file

14 years ago- Year++
Felipe Pena [Sat, 1 Jan 2011 02:51:18 +0000 (02:51 +0000)]
- Year++

14 years ago- Year++
Felipe Pena [Sat, 1 Jan 2011 02:46:03 +0000 (02:46 +0000)]
- Year++

14 years ago- Year++
Felipe Pena [Sat, 1 Jan 2011 02:17:06 +0000 (02:17 +0000)]
- Year++

14 years agoSilently casting an empty string, null or false into an object by adding a property
Scott MacVicar [Fri, 31 Dec 2010 16:57:45 +0000 (16:57 +0000)]
Silently casting an empty string, null or false into an object by adding a property
is pretty non-intuitive. If the same value was 1 or true you get a warning and it halts.

Since we can't break BC completely (yet) lets bump this from E_STRICT.

Also added a new section to UPGRADING for engine changes.

<?php
$x = '';
// $x = null;
// $x = false;
$x->baz = 1;
var_dump($x);

$y = 1;
$y->baz = 1;
var_dump($y);

14 years agoAdd SQLite3_Stmt::readOnly for checking if a statement is read only
Scott MacVicar [Fri, 31 Dec 2010 16:37:12 +0000 (16:37 +0000)]
Add SQLite3_Stmt::readOnly for checking if a statement is read only

14 years ago- Do not violate php_stream abstraction and use php_stream_tell instead of accessing...
Gustavo André dos Santos Lopes [Thu, 30 Dec 2010 19:00:19 +0000 (19:00 +0000)]
- Do not violate php_stream abstraction and use php_stream_tell instead of accessing the field .position.
#Should have no behavior changes.

14 years agoNew test for stream_meta_data($zipstream)
Hannes Magnusson [Thu, 30 Dec 2010 17:41:36 +0000 (17:41 +0000)]
New test for stream_meta_data($zipstream)

14 years agoremoved extra ?> from the FILE section
Eyal Teutsch [Thu, 30 Dec 2010 14:36:01 +0000 (14:36 +0000)]
removed extra ?> from the FILE section

14 years ago- WS
Pierre Joye [Tue, 28 Dec 2010 17:20:10 +0000 (17:20 +0000)]
- WS

14 years agoC89 fix
Andrey Hristov [Tue, 28 Dec 2010 16:41:39 +0000 (16:41 +0000)]
C89 fix