]>
granicus.if.org Git - php/log
Rasmus Lerdorf [Sat, 26 Dec 2009 23:38:25 +0000 (23:38 +0000)]
Along with the valid char set, also add a length check to the
session id here to avoid a lower-level error on the open()
later on in case we exceed MAX_PATH. The lower level open()
error includes the session dir path in it, so this is a very
low-priority security fix. People should not be running
production systems with display_errors turned on.
Mikko Koppanen [Sat, 26 Dec 2009 15:00:21 +0000 (15:00 +0000)]
Upgrade bundled libmagic to 5.03 (fixes CDF parsing related issues)
Clean up / remove whitespace differences to make next merge easier
Removed unnecessary files from trunk
Mikko Koppanen [Sat, 26 Dec 2009 14:54:34 +0000 (14:54 +0000)]
No need to duplicate the string here
Pierrick Charron [Fri, 25 Dec 2009 21:24:36 +0000 (21:24 +0000)]
Changed tidyNode class to disallow manual node creation.
Matteo Beccati [Fri, 25 Dec 2009 20:56:00 +0000 (20:56 +0000)]
- Updated ext/pgsql tests to work w/ PostgreSQL 8.5
# tested w/ 8.5alpha3
Antony Dovgal [Fri, 25 Dec 2009 20:34:59 +0000 (20:34 +0000)]
remove automatic file unlocking on shutdown and/or stream close
(make it win32-specific for 5_2, as discussed with Ilia)
Matteo Beccati [Fri, 25 Dec 2009 20:11:07 +0000 (20:11 +0000)]
- Updated pdo_pgsql tests to be 8.5+ friendly
Dmitry Stogov [Fri, 25 Dec 2009 13:11:18 +0000 (13:11 +0000)]
Fixed bug #50519 (segfault in garbage collection when using set_error_handler and DomDocument)
Pierrick Charron [Fri, 25 Dec 2009 01:35:57 +0000 (01:35 +0000)]
Fixed bug #50558 (Broken object model when extending tidy)
Ilia Alshanetsky [Thu, 24 Dec 2009 18:47:15 +0000 (18:47 +0000)]
Added missing host validation for HTTP urls inside FILTER_VALIDATE_URL.
Mikko Koppanen [Thu, 24 Dec 2009 13:57:21 +0000 (13:57 +0000)]
Fix the proto entry for trunk
Mikko Koppanen [Thu, 24 Dec 2009 13:12:03 +0000 (13:12 +0000)]
Changed stream_resolve_include_path to use zend_resolve_path
backported stream_resolve_include_path to PHP 5.3
backported stream_resolve_include_path test to PHP 5.3
Antony Dovgal [Thu, 24 Dec 2009 13:07:33 +0000 (13:07 +0000)]
fix the fix for #47409
use correct comparison and add missing scope checks to trunk
Moriyoshi Koizumi [Thu, 24 Dec 2009 09:32:52 +0000 (09:32 +0000)]
- MFB: Fix bug #46478 (htmlentities() uses obsolete mapping table for character
entity references)
(this should be gone to r292467)
Sriram Natarajan [Thu, 24 Dec 2009 02:08:23 +0000 (02:08 +0000)]
- Update tests to reflect current behavior after fix for bug #50185
Stanislav Malyshev [Thu, 24 Dec 2009 00:15:13 +0000 (00:15 +0000)]
fix flags handling in zend_parse_method_parameters_ex
Stanislav Malyshev [Wed, 23 Dec 2009 21:41:05 +0000 (21:41 +0000)]
cleanup some code, improve error handling
Jani Taskinen [Wed, 23 Dec 2009 21:06:26 +0000 (21:06 +0000)]
- ws
Ilia Alshanetsky [Wed, 23 Dec 2009 16:33:58 +0000 (16:33 +0000)]
Fixed bug #47409 (extract() problem with array containing word "this").
Andrey Hristov [Wed, 23 Dec 2009 11:58:45 +0000 (11:58 +0000)]
Unify. The typedef-ed structs in mysqlnd are always capitalized.
Antony Dovgal [Wed, 23 Dec 2009 09:40:28 +0000 (09:40 +0000)]
fix minor leak in CGI sapi (happened once per child)
Johannes Schlüter [Tue, 22 Dec 2009 22:36:41 +0000 (22:36 +0000)]
Where using svn now, use svn paths
# This file doesn't exist in 5.2!?
Johannes Schlüter [Tue, 22 Dec 2009 19:30:09 +0000 (19:30 +0000)]
install mysqlnd headers to allow shared build of extensions
Andrey Hristov [Tue, 22 Dec 2009 17:44:42 +0000 (17:44 +0000)]
Fix double calls to free_contents if the connection cannot be
opened. mysqlnd have no probs, external code should not have too.
In any case, double call is not needed.
Andrey Hristov [Tue, 22 Dec 2009 17:31:31 +0000 (17:31 +0000)]
move state setting to the right place, in mysqlnd_init, no more
in mysqlnd::connect
Jani Taskinen [Tue, 22 Dec 2009 09:57:19 +0000 (09:57 +0000)]
- Fixed bug #50517 (EXTRA_LDFLAGS polluted by wrong entries)
# Until someone shows me use case for LDFLAGS, this is gone.
# This was wrong place to import it anyway.
Ilia Alshanetsky [Tue, 22 Dec 2009 02:04:12 +0000 (02:04 +0000)]
Fixed bug #45599 (strip_tags() truncates rest of string with invalid attribute).
Derick Rethans [Mon, 21 Dec 2009 20:46:12 +0000 (20:46 +0000)]
- Updated to version 2009.20 (2009t)
Sriram Natarajan [Mon, 21 Dec 2009 20:39:48 +0000 (20:39 +0000)]
Fixed bug #50540 (Crash within ldap_first_reference function)
Stanislav Malyshev [Mon, 21 Dec 2009 20:12:46 +0000 (20:12 +0000)]
clean up normalizer code
Andrey Hristov [Mon, 21 Dec 2009 16:52:10 +0000 (16:52 +0000)]
Move this function to MYSQLND_NET as it works on the
php stream
Andrey Hristov [Mon, 21 Dec 2009 16:17:31 +0000 (16:17 +0000)]
magic numbers to macros
Andrey Hristov [Mon, 21 Dec 2009 16:09:13 +0000 (16:09 +0000)]
Move compression and decompression code to separate functions
which can be overloaded on purpose.
Jani Taskinen [Mon, 21 Dec 2009 15:44:58 +0000 (15:44 +0000)]
- Sync (and KEEP it synced!)
Dmitry Stogov [Mon, 21 Dec 2009 15:29:21 +0000 (15:29 +0000)]
Fixed Unicode support
Jani Taskinen [Mon, 21 Dec 2009 15:22:40 +0000 (15:22 +0000)]
- Tune the fix for bug #50508 and make it work with MacOSX, bug #50541.
Felipe Pena [Sun, 20 Dec 2009 22:04:55 +0000 (22:04 +0000)]
- New tests
Stanislav Malyshev [Sat, 19 Dec 2009 01:13:33 +0000 (01:13 +0000)]
fix bug #50196
Stanislav Malyshev [Fri, 18 Dec 2009 19:12:11 +0000 (19:12 +0000)]
fix regression bug #50394: Reference argument converted to value in __call
Jani Taskinen [Fri, 18 Dec 2009 12:49:20 +0000 (12:49 +0000)]
touch
Jani Taskinen [Fri, 18 Dec 2009 11:02:07 +0000 (11:02 +0000)]
- Fixed bug #50508 (compile fails: Conflicting HEADER type declarations)
# NEVER ever include nameser_compat.h, it's included in various ways in different OSes by nameser.h if needed
Ulf Wendel [Thu, 17 Dec 2009 14:15:28 +0000 (14:15 +0000)]
Test for what Andrey has found with 16M packets
Andrey Hristov [Thu, 17 Dec 2009 13:29:46 +0000 (13:29 +0000)]
refactoring : move more network related functions to
mysqlnd_net.c . Now communication is split on two levels:
- logical (functions send and receive)
- physical (functions network_read and network_write)
Andrey Hristov [Thu, 17 Dec 2009 12:30:58 +0000 (12:30 +0000)]
During refactoring of the function mysqlnd_stream_write_w_header() it was
found that there is a bug in the way the data is sent, although a very rare
one which will only affect very large queries which have length
16777214 . The
communication will hang. A way to test it is to execute the following:
./php -r '$c=mysqli_connect("127.0.0.1","root","root","test");
$q="insert into test.tblob values(\"".str_repeat("a",256*256*256-1-34)."\")";
$c->query($q);'
Sriram Natarajan [Wed, 16 Dec 2009 20:49:08 +0000 (20:49 +0000)]
- Fixed bug #50496 (Use of <stdbool.h> is valid only in a c99 compilation environment.)
Andrey Hristov [Wed, 16 Dec 2009 14:38:30 +0000 (14:38 +0000)]
call free_contents in every case, in case something is not freed
by the calling code
Andrey Hristov [Wed, 16 Dec 2009 14:05:35 +0000 (14:05 +0000)]
Remove unneeded dereferences
Andrey Hristov [Wed, 16 Dec 2009 12:59:38 +0000 (12:59 +0000)]
move MYSQLND_NET code to a separate file.
mysqlnd_wireprotocol is about the protocol not the transport
layer
Dmitry Stogov [Wed, 16 Dec 2009 11:16:32 +0000 (11:16 +0000)]
Fixed tests
Dmitry Stogov [Wed, 16 Dec 2009 11:16:03 +0000 (11:16 +0000)]
Fixed test engine to support non utf-8 tests
Dmitry Stogov [Wed, 16 Dec 2009 11:15:22 +0000 (11:15 +0000)]
Fixed str_replace() to work with both binary and unicode strings
Pierre Joye [Wed, 16 Dec 2009 10:09:34 +0000 (10:09 +0000)]
- add a test case and update the skip clause
Kalle Sommer Nielsen [Wed, 16 Dec 2009 06:08:38 +0000 (06:08 +0000)]
Added newly added removed directives to the makefile
Andrey Hristov [Tue, 15 Dec 2009 17:39:30 +0000 (17:39 +0000)]
remove duplicated code
Andrey Hristov [Tue, 15 Dec 2009 17:33:06 +0000 (17:33 +0000)]
Move code out of mysqlnd_conn::connect to mysqlnd_net::connect.
Thus mysqlnd_conn::connect() does less of what it should not do - think
about the transport level.
Andrey Hristov [Tue, 15 Dec 2009 14:48:24 +0000 (14:48 +0000)]
remove C++ comments
Andrey Hristov [Tue, 15 Dec 2009 14:26:24 +0000 (14:26 +0000)]
export this function
Andrey Hristov [Tue, 15 Dec 2009 13:13:51 +0000 (13:13 +0000)]
refactor: move code that belongs to MYSQLND_NET out of MYSQLND
Ilia Alshanetsky [Tue, 15 Dec 2009 12:34:12 +0000 (12:34 +0000)]
Fixed bu #50392 (date_create_from_format() enforces 6 digits for 'u' format character)
Dmitry Stogov [Tue, 15 Dec 2009 12:31:32 +0000 (12:31 +0000)]
Fixed pcre_quote() to work with both unicode and binary strings
Dmitry Stogov [Tue, 15 Dec 2009 12:30:14 +0000 (12:30 +0000)]
Fixed ASCII-comatimle encoding detection
Dmitry Stogov [Tue, 15 Dec 2009 12:29:26 +0000 (12:29 +0000)]
Fixed ASCII-comatimle encoding detection
Jani Taskinen [Tue, 15 Dec 2009 11:17:47 +0000 (11:17 +0000)]
- Make $sbindir be usable in C code as well (like $bindir and co.)
Jani Taskinen [Tue, 15 Dec 2009 10:55:27 +0000 (10:55 +0000)]
- Allow using $sbindir as well
Felipe Pena [Tue, 15 Dec 2009 00:37:43 +0000 (00:37 +0000)]
- Added SKIPIF
Felipe Pena [Mon, 14 Dec 2009 21:44:56 +0000 (21:44 +0000)]
- Fixed memory leak when E_STRICT message is getted
Dmitry Stogov [Mon, 14 Dec 2009 13:46:46 +0000 (13:46 +0000)]
Fixed urldecode() and rawurldecode() to accept ASCII-Unicode strings
Kalle Sommer Nielsen [Mon, 14 Dec 2009 10:56:34 +0000 (10:56 +0000)]
Add some more removed ini directives
Kalle Sommer Nielsen [Mon, 14 Dec 2009 10:55:06 +0000 (10:55 +0000)]
Change to E_CORE_ERROR as advertised (Fixes #50435) - Patch by arpad@php.net
Jani Taskinen [Mon, 14 Dec 2009 09:41:39 +0000 (09:41 +0000)]
MFB: fix test
Jani Taskinen [Mon, 14 Dec 2009 09:37:33 +0000 (09:37 +0000)]
MFB: fix test
Jani Taskinen [Mon, 14 Dec 2009 05:52:49 +0000 (05:52 +0000)]
- Fix test
Pierrick Charron [Mon, 14 Dec 2009 04:09:18 +0000 (04:09 +0000)]
- Fixed bug #50469 (Fixed typo in imagepsencodefont error string).
Pierrick Charron [Mon, 14 Dec 2009 03:44:33 +0000 (03:44 +0000)]
- Fixed bug #50458 (PDO::FETCH_FUNC fails with Closures)
Felipe Pena [Sun, 13 Dec 2009 19:53:44 +0000 (19:53 +0000)]
- Fixed bug #49174 (crash on queryString set)
Felipe Pena [Sun, 13 Dec 2009 17:06:47 +0000 (17:06 +0000)]
- Fixed bug #50209 (Compiling with libedit cannot find readline.h)
(patch by tcallawa at redhat dot com)
Felipe Pena [Sun, 13 Dec 2009 16:53:24 +0000 (16:53 +0000)]
- Fixed tests for when running using libedit
Ilia Alshanetsky [Sun, 13 Dec 2009 15:44:22 +0000 (15:44 +0000)]
Fixed bug #50451 (http wrapper breaks on 2048 char long headers)
# Improvement on the fix for bug #49851
Felipe Pena [Fri, 11 Dec 2009 22:30:46 +0000 (22:30 +0000)]
- Fixed bug #50445 (PDO-ODBC stored procedure call from Solaris 64-bit causes seg fault).
(Original patch by davbrown4 at yahoo dot com)
Pierre Joye [Fri, 11 Dec 2009 16:35:42 +0000 (16:35 +0000)]
- fix build, come on, it is not that hard to test before commit, is it?
Pierre Joye [Fri, 11 Dec 2009 15:57:01 +0000 (15:57 +0000)]
- #50334, use our own implementations of stpncpy and mempcy, avoiding weird behaviors on certain platforms like solaris
Jani Taskinen [Fri, 11 Dec 2009 15:42:16 +0000 (15:42 +0000)]
MF53:- Fixed bug #45392 (ob_start()/ob_end_clean() and memory_limit) #Ilia..
Jani Taskinen [Fri, 11 Dec 2009 15:06:50 +0000 (15:06 +0000)]
fix test
Jani Taskinen [Fri, 11 Dec 2009 12:57:57 +0000 (12:57 +0000)]
- Fix test
Andrey Hristov [Fri, 11 Dec 2009 11:58:57 +0000 (11:58 +0000)]
Make MYSQLND_NET dynamically allocated structure with allocator
and deallocator. More member functions will come.
Andrey Hristov [Fri, 11 Dec 2009 10:21:34 +0000 (10:21 +0000)]
remove stale comment
Andrey Hristov [Fri, 11 Dec 2009 10:18:00 +0000 (10:18 +0000)]
Move two functions which are used in the extension as methods of
the connection. Two functions less in the global namespace.
Jani Taskinen [Fri, 11 Dec 2009 07:34:06 +0000 (07:34 +0000)]
- Fix problem with SKIPIF failing to skip in some cases (deprecated warnings f.e.)
Christopher Jones [Thu, 10 Dec 2009 19:07:08 +0000 (19:07 +0000)]
Add new 'fetch' test and make several small test fixes
Christopher Jones [Thu, 10 Dec 2009 17:28:19 +0000 (17:28 +0000)]
Remove text recently merged to online doc
Pierre Joye [Thu, 10 Dec 2009 14:08:19 +0000 (14:08 +0000)]
- #50334, add define on win as well
Andrey Hristov [Thu, 10 Dec 2009 11:59:14 +0000 (11:59 +0000)]
bump version number
Andrey Hristov [Thu, 10 Dec 2009 11:18:05 +0000 (11:18 +0000)]
Add plugin storage for MYSQLND_STMT too
Felipe Pena [Thu, 10 Dec 2009 10:46:33 +0000 (10:46 +0000)]
- Fix build
Andrey Hristov [Thu, 10 Dec 2009 09:35:10 +0000 (09:35 +0000)]
Fix pdo build, forgot to remove the zval caching from pdo-mysql
Ilia Alshanetsky [Thu, 10 Dec 2009 03:23:05 +0000 (03:23 +0000)]
Fixed bug #49851 (http wrapper breaks on 1024 char long headers).
Pierre Joye [Thu, 10 Dec 2009 02:25:47 +0000 (02:25 +0000)]
- [DOC] expose MPIR version when mpir is used instead of gmp
Andrey Hristov [Wed, 9 Dec 2009 20:38:11 +0000 (20:38 +0000)]
Remove stub code which never actually was used for anything.
Things like this can be built on top of the core.
Jani Taskinen [Wed, 9 Dec 2009 20:33:31 +0000 (20:33 +0000)]
- Fixed bug #47179 (gzuncompress does not report expcted error)
Jani Taskinen [Wed, 9 Dec 2009 20:32:13 +0000 (20:32 +0000)]
- fix tests (this is ridiculous..)