]>
granicus.if.org Git - php/log
Ilia Alshanetsky [Thu, 20 Jan 2011 19:32:36 +0000 (19:32 +0000)]
Fixed variable overloading
Felipe Pena [Thu, 20 Jan 2011 12:32:41 +0000 (12:32 +0000)]
- Removed accidental changes
Pierre Joye [Thu, 20 Jan 2011 12:23:30 +0000 (12:23 +0000)]
- should not have been applied
Pierre Joye [Thu, 20 Jan 2011 07:38:00 +0000 (07:38 +0000)]
- don't continue if no valid option value
Pierre Joye [Thu, 20 Jan 2011 07:05:34 +0000 (07:05 +0000)]
- be sure that we got tzid by adding a default case
Pierre Joye [Thu, 20 Jan 2011 06:58:04 +0000 (06:58 +0000)]
- fail when no known op are given
Pierre Joye [Thu, 20 Jan 2011 06:55:11 +0000 (06:55 +0000)]
- unused var
Pierre Joye [Thu, 20 Jan 2011 06:54:28 +0000 (06:54 +0000)]
- fail when no known op are given
Pierre Joye [Thu, 20 Jan 2011 06:49:17 +0000 (06:49 +0000)]
- kill local redeclaration
Pierre Joye [Thu, 20 Jan 2011 06:45:52 +0000 (06:45 +0000)]
- init err (and simplify)
Pierre Joye [Thu, 20 Jan 2011 06:44:16 +0000 (06:44 +0000)]
- init err
Pierre Joye [Thu, 20 Jan 2011 06:32:59 +0000 (06:32 +0000)]
- no need of assert here
Pierre Joye [Thu, 20 Jan 2011 06:23:35 +0000 (06:23 +0000)]
- check if strdup succeeds
Philip Olson [Wed, 19 Jan 2011 22:41:01 +0000 (22:41 +0000)]
Fixed a couple of trivial typos
Pierre Joye [Wed, 19 Jan 2011 21:40:15 +0000 (21:40 +0000)]
- fix warning about undefined zend_multibyte_set_filter and zend_multibyte_yyinput_again, why are they not in zend_multibyte.h btw?
Pierre Joye [Wed, 19 Jan 2011 21:19:45 +0000 (21:19 +0000)]
- force static, can't be built yet shared anyway
Pierre Joye [Wed, 19 Jan 2011 19:48:28 +0000 (19:48 +0000)]
- xp sp3 does not have them
Andrey Hristov [Wed, 19 Jan 2011 17:51:02 +0000 (17:51 +0000)]
fix ZTS build
Pierre Joye [Wed, 19 Jan 2011 17:17:52 +0000 (17:17 +0000)]
- WS
Pierre Joye [Wed, 19 Jan 2011 17:06:50 +0000 (17:06 +0000)]
- avoid local redeclaration
Pierre Joye [Wed, 19 Jan 2011 15:23:07 +0000 (15:23 +0000)]
- malloc may fail
Pierre Joye [Wed, 19 Jan 2011 14:21:46 +0000 (14:21 +0000)]
- path len check and fix buffer overrun
Ilia Alshanetsky [Wed, 19 Jan 2011 13:09:05 +0000 (13:09 +0000)]
Win32 build fix
Dmitry Stogov [Wed, 19 Jan 2011 08:38:25 +0000 (08:38 +0000)]
Added checks for malformated FastCGI requests (Edgar Frank)
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.
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
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.
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).
Ilia Alshanetsky [Tue, 18 Jan 2011 13:17:23 +0000 (13:17 +0000)]
Fixed variable re-declaration
Pierre Joye [Tue, 18 Jan 2011 10:29:26 +0000 (10:29 +0000)]
- fix the fix (wrong test)
Jérôme Loyet [Mon, 17 Jan 2011 22:22:39 +0000 (22:22 +0000)]
- Enforce security in the fastcgi protocol parsing.
Pierre Joye [Mon, 17 Jan 2011 14:29:16 +0000 (14:29 +0000)]
- path len sanity check
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)
Pierre Joye [Mon, 17 Jan 2011 14:01:01 +0000 (14:01 +0000)]
- fix NULL derefencing
Ilia Alshanetsky [Mon, 17 Jan 2011 13:44:54 +0000 (13:44 +0000)]
Fixed compiler warning
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
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)
Kalle Sommer Nielsen [Mon, 17 Jan 2011 09:59:07 +0000 (09:59 +0000)]
Remove this void comment (c/p mistake)
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)
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
Stanislav Malyshev [Sun, 16 Jan 2011 20:39:22 +0000 (20:39 +0000)]
Add options to debug_backtrace functions
Kalle Sommer Nielsen [Sun, 16 Jan 2011 15:44:48 +0000 (15:44 +0000)]
Fix mysqlnd build
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.
Andrey Hristov [Fri, 14 Jan 2011 20:02:49 +0000 (20:02 +0000)]
merge from branch
Johannes Schlüter [Fri, 14 Jan 2011 14:57:57 +0000 (14:57 +0000)]
- Fix #53551 (PDOStatement execute segfaults for pdo_mysql driver)
Antony Dovgal [Fri, 14 Jan 2011 13:53:59 +0000 (13:53 +0000)]
add missing dl() function to FPM SAPI
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.
Andrey Hristov [Fri, 14 Jan 2011 12:32:27 +0000 (12:32 +0000)]
gcc barks about these, so clean it
Ilia Alshanetsky [Thu, 13 Jan 2011 12:56:28 +0000 (12:56 +0000)]
Fixed variable re-declaration
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.
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
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
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
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)
Ilia Alshanetsky [Wed, 12 Jan 2011 13:21:27 +0000 (13:21 +0000)]
Fixed variable re-declaration
Felipe Pena [Wed, 12 Jan 2011 00:29:59 +0000 (00:29 +0000)]
- Fixed compiler warnings
Andrey Hristov [Tue, 11 Jan 2011 13:02:57 +0000 (13:02 +0000)]
Use common code to handle initial authentication and
COM_CHANGE_USER
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
Pierre Joye [Mon, 10 Jan 2011 21:04:50 +0000 (21:04 +0000)]
- do not enable analyzer for snapshot
Ilia Alshanetsky [Mon, 10 Jan 2011 18:19:02 +0000 (18:19 +0000)]
Fixed bug #53630 (Fixed parameter handling inside readline() function).
Andrey Hristov [Mon, 10 Jan 2011 15:28:52 +0000 (15:28 +0000)]
plug a leak
Andrey Hristov [Mon, 10 Jan 2011 15:14:56 +0000 (15:14 +0000)]
new flag
Pierre Joye [Mon, 10 Jan 2011 08:28:47 +0000 (08:28 +0000)]
- remove local redeclaration
Pierre Joye [Mon, 10 Jan 2011 08:07:38 +0000 (08:07 +0000)]
- possible NULL deref
Pierre Joye [Mon, 10 Jan 2011 01:04:36 +0000 (01:04 +0000)]
- local redeclaration
Pierre Joye [Mon, 10 Jan 2011 00:59:19 +0000 (00:59 +0000)]
- WS
Pierre Joye [Mon, 10 Jan 2011 00:43:08 +0000 (00:43 +0000)]
- some more possible NULL deref
Pierre Joye [Mon, 10 Jan 2011 00:30:07 +0000 (00:30 +0000)]
- fix possible NULL deref
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)
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
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>
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.
Pierre Joye [Fri, 7 Jan 2011 20:50:33 +0000 (20:50 +0000)]
- enable ASLR and NXCOMPAT by default
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)
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()
Pierre Joye [Fri, 7 Jan 2011 15:51:36 +0000 (15:51 +0000)]
- define the php*.lib/dll names
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)
Pierre Joye [Fri, 7 Jan 2011 14:57:51 +0000 (14:57 +0000)]
- missing add header
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
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.
Adam Harvey [Fri, 7 Jan 2011 03:43:20 +0000 (03:43 +0000)]
Implement request #53684 (Deprecated HTML in sample php.ini).
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.
Rasmus Lerdorf [Thu, 6 Jan 2011 22:48:20 +0000 (22:48 +0000)]
Fix bug #53682
Adam Harvey [Thu, 6 Jan 2011 02:32:02 +0000 (02:32 +0000)]
Implement request #53659 (Implementing RegexIterator::getRegex() method). Patch
by Joshua Thijssen.
Adam Harvey [Thu, 6 Jan 2011 02:24:49 +0000 (02:24 +0000)]
Remove empty files left when r306542 was reverted in r306552.
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).
Etienne Kneuss [Wed, 5 Jan 2011 15:01:18 +0000 (15:01 +0000)]
Implement SplObjectStorage::removeAllExcept (Patch by Matthey Turland)
Ilia Alshanetsky [Wed, 5 Jan 2011 14:41:50 +0000 (14:41 +0000)]
Added test
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
Pierre Joye [Wed, 5 Jan 2011 00:59:31 +0000 (00:59 +0000)]
- revert rev. 307044
Scott MacVicar [Tue, 4 Jan 2011 23:36:56 +0000 (23:36 +0000)]
Add test for bug #53632
Scott MacVicar [Tue, 4 Jan 2011 22:36:23 +0000 (22:36 +0000)]
Fix bug #53632 with x87 fpu
Felipe Pena [Tue, 4 Jan 2011 22:01:09 +0000 (22:01 +0000)]
- Fixed tests
Stanislav Malyshev [Tue, 4 Jan 2011 03:24:38 +0000 (03:24 +0000)]
fix unit tests for intl in accordance with new ICU releases
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
Pierre Joye [Mon, 3 Jan 2011 20:38:21 +0000 (20:38 +0000)]
- useless commented code
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.
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.
Pierre Joye [Mon, 3 Jan 2011 15:36:39 +0000 (15:36 +0000)]
- slightly cleaner
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)