Andrey Hristov
d3619df322
move network creation to the init hook
2009-12-28 11:17:10 +00:00
Felipe Pena
3547012470
- Fixed ZTS build
2009-12-27 18:13:37 +00:00
Mikko Koppanen
4000617c8b
Share the php_sockets.h header
...
Share php_sockets_le_socket_name
2009-12-27 01:00:50 +00:00
Mikko Koppanen
1149ed8b32
spprintf the dbname
...
use VCWD_ACCESS instead of access
2009-12-27 00:43:33 +00:00
Rasmus Lerdorf
c18de79265
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.
2009-12-26 23:38:25 +00:00
Mikko Koppanen
24af48e402
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
2009-12-26 15:00:21 +00:00
Mikko Koppanen
1adda4879d
No need to duplicate the string here
2009-12-26 14:54:34 +00:00
Pierrick Charron
ae727fea24
Changed tidyNode class to disallow manual node creation.
2009-12-25 21:24:36 +00:00
Matteo Beccati
07d93817c9
- Updated ext/pgsql tests to work w/ PostgreSQL 8.5
...
# tested w/ 8.5alpha3
2009-12-25 20:56:00 +00:00
Antony Dovgal
64845f3889
remove automatic file unlocking on shutdown and/or stream close
...
(make it win32-specific for 5_2, as discussed with Ilia)
2009-12-25 20:34:59 +00:00
Matteo Beccati
731466cca3
- Updated pdo_pgsql tests to be 8.5+ friendly
2009-12-25 20:11:07 +00:00
Dmitry Stogov
acd8753c5d
Fixed bug #50519 (segfault in garbage collection when using set_error_handler and DomDocument)
2009-12-25 13:11:18 +00:00
Pierrick Charron
08974cf41b
Fixed bug #50558 (Broken object model when extending tidy)
2009-12-25 01:35:57 +00:00
Ilia Alshanetsky
1e0b711d83
Added missing host validation for HTTP urls inside FILTER_VALIDATE_URL.
2009-12-24 18:47:15 +00:00
Mikko Koppanen
d5c6a9b0fd
Fix the proto entry for trunk
2009-12-24 13:57:21 +00:00
Mikko Koppanen
523e609613
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
2009-12-24 13:12:03 +00:00
Antony Dovgal
c2fa809deb
fix the fix for #47409
...
use correct comparison and add missing scope checks to trunk
2009-12-24 13:07:33 +00:00
Moriyoshi Koizumi
139c26f795
- MFB: Fix bug #46478 (htmlentities() uses obsolete mapping table for character
...
entity references)
(this should be gone to r292467)
2009-12-24 09:32:52 +00:00
Sriram Natarajan
016ba1f1ed
- Update tests to reflect current behavior after fix for bug #50185
2009-12-24 02:08:23 +00:00
Stanislav Malyshev
6ae89a4c8e
fix flags handling in zend_parse_method_parameters_ex
2009-12-24 00:15:13 +00:00
Stanislav Malyshev
e4fa6a295d
cleanup some code, improve error handling
2009-12-23 21:41:05 +00:00
Jani Taskinen
0e949a81d8
- ws
2009-12-23 21:06:26 +00:00
Ilia Alshanetsky
bf1f48e35d
Fixed bug #47409 (extract() problem with array containing word "this").
2009-12-23 16:33:58 +00:00
Andrey Hristov
066dad5ff9
Unify. The typedef-ed structs in mysqlnd are always capitalized.
2009-12-23 11:58:45 +00:00
Antony Dovgal
83e34669e0
fix minor leak in CGI sapi (happened once per child)
2009-12-23 09:40:28 +00:00
Johannes Schlüter
bddb822365
Where using svn now, use svn paths
...
# This file doesn't exist in 5.2!?
2009-12-22 22:36:41 +00:00
Johannes Schlüter
30dbb982bd
install mysqlnd headers to allow shared build of extensions
2009-12-22 19:30:09 +00:00
Andrey Hristov
707e86274b
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.
2009-12-22 17:44:42 +00:00
Andrey Hristov
e695a83c66
move state setting to the right place, in mysqlnd_init, no more
...
in mysqlnd::connect
2009-12-22 17:31:31 +00:00
Jani Taskinen
55a275f334
- 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.
2009-12-22 09:57:19 +00:00
Ilia Alshanetsky
c0dd0e94f2
Fixed bug #45599 (strip_tags() truncates rest of string with invalid attribute).
2009-12-22 02:04:12 +00:00
Derick Rethans
bf8f77c415
- Updated to version 2009.20 (2009t)
2009-12-21 20:46:12 +00:00
Sriram Natarajan
d296d19000
Fixed bug #50540 (Crash within ldap_first_reference function)
2009-12-21 20:39:48 +00:00
Stanislav Malyshev
170c8b08cd
clean up normalizer code
2009-12-21 20:12:46 +00:00
Andrey Hristov
a3e5d1852a
Move this function to MYSQLND_NET as it works on the
...
php stream
2009-12-21 16:52:10 +00:00
Andrey Hristov
3e3d0e0d88
magic numbers to macros
2009-12-21 16:17:31 +00:00
Andrey Hristov
c9c418b971
Move compression and decompression code to separate functions
...
which can be overloaded on purpose.
2009-12-21 16:09:13 +00:00
Jani Taskinen
953c96d0d8
- Sync (and KEEP it synced!)
2009-12-21 15:44:58 +00:00
Dmitry Stogov
3c822ea189
Fixed Unicode support
2009-12-21 15:29:21 +00:00
Jani Taskinen
8ac895201e
- Tune the fix for bug #50508 and make it work with MacOSX, bug #50541 .
2009-12-21 15:22:40 +00:00
Felipe Pena
d5e1c1718b
- New tests
2009-12-20 22:04:55 +00:00
Stanislav Malyshev
1d8116180c
fix bug #50196
2009-12-19 01:13:33 +00:00
Stanislav Malyshev
7f775864d1
fix regression bug #50394 : Reference argument converted to value in __call
2009-12-18 19:12:11 +00:00
Jani Taskinen
8831f4ca23
touch
2009-12-18 12:49:20 +00:00
Jani Taskinen
17cebc44a7
- 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
2009-12-18 11:02:07 +00:00
Ulf Wendel
95f4aff61c
Test for what Andrey has found with 16M packets
2009-12-17 14:15:28 +00:00
Andrey Hristov
f8dcfbc74f
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)
2009-12-17 13:29:46 +00:00
Andrey Hristov
60697e1876
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);'
2009-12-17 12:30:58 +00:00
Sriram Natarajan
078ecd5f37
- Fixed bug #50496 (Use of <stdbool.h> is valid only in a c99 compilation environment.)
2009-12-16 20:49:08 +00:00
Andrey Hristov
e0441d594e
call free_contents in every case, in case something is not freed
...
by the calling code
2009-12-16 14:38:30 +00:00