]> granicus.if.org Git - php/log
php
18 years agoinitialize bucket #0 with nulls (normally it shouldn't be used at all, but if it...
Antony Dovgal [Tue, 28 Mar 2006 21:58:01 +0000 (21:58 +0000)]
initialize bucket #0 with nulls (normally it shouldn't be used at all, but if it is - we don't want any memory issues, do we?)

18 years agoprevent possible NULL dereference
Antony Dovgal [Tue, 28 Mar 2006 20:19:44 +0000 (20:19 +0000)]
prevent possible NULL dereference

18 years agofix #36897 (debug_print_backtrace() doesn't return void but array(0) {})
Antony Dovgal [Tue, 28 Mar 2006 19:43:21 +0000 (19:43 +0000)]
fix #36897 (debug_print_backtrace() doesn't return void but array(0) {})

18 years agoadd a test case for bug 35671
Wez Furlong [Tue, 28 Mar 2006 16:47:35 +0000 (16:47 +0000)]
add a test case for bug 35671

18 years agoFixed bug #36886 (User filters can leak buckets in some situations).
Ilia Alshanetsky [Tue, 28 Mar 2006 16:01:04 +0000 (16:01 +0000)]
Fixed bug #36886 (User filters can leak buckets in some situations).

18 years agofix tests
Antony Dovgal [Tue, 28 Mar 2006 09:12:45 +0000 (09:12 +0000)]
fix tests

18 years agofix #36851 (Documentation and code discrepancies for NULL data)
Antony Dovgal [Tue, 28 Mar 2006 09:12:18 +0000 (09:12 +0000)]
fix #36851 (Documentation and code discrepancies for NULL data)

18 years agoreenable pg_execute E_WARNING
Yasuo Ohgaki [Tue, 28 Mar 2006 00:28:02 +0000 (00:28 +0000)]
reenable pg_execute E_WARNING

18 years agoCheck 2nd parameter of tempnam() against path components.
Ilia Alshanetsky [Mon, 27 Mar 2006 23:40:41 +0000 (23:40 +0000)]
Check 2nd parameter of tempnam() against path components.

18 years agofix #36878 (error messages are printed even though an exception has been thrown)
Antony Dovgal [Mon, 27 Mar 2006 22:07:38 +0000 (22:07 +0000)]
fix #36878 (error messages are printed even though an exception has been thrown)

18 years agoFix for #36342; ODBC won't let you bind variables by buffer after "long"
Wez Furlong [Mon, 27 Mar 2006 21:04:12 +0000 (21:04 +0000)]
Fix for #36342; ODBC won't let you bind variables by buffer after "long"
columns.

We simply add a flag that indicates if we've seen any long columns and will
continue to bind the columns the slow way.

While we're at it, increase the maximum length of the column names that we can
handle.

18 years agoThe fix for #35332 caused #35671 (and thus PECL #6504).
Wez Furlong [Mon, 27 Mar 2006 20:51:01 +0000 (20:51 +0000)]
The fix for #35332 caused #35671 (and thus PECL #6504).

Partially back out that fix and introduce an extra optional step for drivers to
canonicalize the "name" that is used for registering parameters.

18 years agofix #36869 (memory leak in output buffering when using chunked output)
Antony Dovgal [Mon, 27 Mar 2006 08:26:10 +0000 (08:26 +0000)]
fix #36869 (memory leak in output buffering when using chunked output)

18 years agoFixed meory leak in case of unknown pragma
Dmitry Stogov [Mon, 27 Mar 2006 08:09:18 +0000 (08:09 +0000)]
Fixed meory leak in case of unknown pragma

18 years agoOn Mac OSX, our extensions are actually "bundles" and should not have
Andrei Zmievski [Mon, 27 Mar 2006 04:59:36 +0000 (04:59 +0000)]
On Mac OSX, our extensions are actually "bundles" and should not have
.dylib extension. Read this:

http://www.sm.luth.se/~alapaa/file_fetch/unixcdbookshelf/mac/ch05_03.htm

18 years agoremove pg_execute() E_WARNING error when query plan is not defined
Yasuo Ohgaki [Mon, 27 Mar 2006 02:59:55 +0000 (02:59 +0000)]
remove pg_execute() E_WARNING error when query plan is not defined

18 years agokill the left unused variable
Andrey Hristov [Sun, 26 Mar 2006 21:10:13 +0000 (21:10 +0000)]
kill the left unused variable

18 years agoremove unnecessary memcpy, cast directly
Andrey Hristov [Sun, 26 Mar 2006 21:08:41 +0000 (21:08 +0000)]
remove unnecessary memcpy, cast directly

18 years agoFixed bug #36857 (Added support for partial content fetching to the HTTP
Ilia Alshanetsky [Sun, 26 Mar 2006 17:12:05 +0000 (17:12 +0000)]
Fixed bug #36857 (Added support for partial content fetching to the HTTP
streams wrapper).

18 years ago- MFH: Make IteratorIterator base of most SPL iterators
Marcus Boerger [Sun, 26 Mar 2006 02:25:03 +0000 (02:25 +0000)]
- MFH: Make IteratorIterator base of most SPL iterators

18 years ago- Fix docu
Marcus Boerger [Sun, 26 Mar 2006 02:24:33 +0000 (02:24 +0000)]
- Fix docu

18 years agofixed compiler warning.
Seiji Masugata [Sun, 26 Mar 2006 02:19:50 +0000 (02:19 +0000)]
fixed compiler warning.

18 years agofix #36859 (DOMElement crashes when calling __construct when clone'ing)
Antony Dovgal [Sun, 26 Mar 2006 00:23:25 +0000 (00:23 +0000)]
fix #36859 (DOMElement crashes when calling __construct when clone'ing)

18 years agofix and testcase for bug #36745
Georg Richter [Fri, 24 Mar 2006 12:10:39 +0000 (12:10 +0000)]
fix and testcase for bug #36745

18 years agoadd new tests
Antony Dovgal [Fri, 24 Mar 2006 12:08:53 +0000 (12:08 +0000)]
add new tests

18 years agofixed minor problems (thx to tony)
Georg Richter [Fri, 24 Mar 2006 10:58:52 +0000 (10:58 +0000)]
fixed minor problems (thx to tony)

18 years agoFix for bug #36802 (server crashes with invalid/not opened connections)
Georg Richter [Fri, 24 Mar 2006 09:32:24 +0000 (09:32 +0000)]
Fix for bug #36802 (server crashes with invalid/not opened connections)
Added status to mysqli_resource:
MYSQLI_STATUS_UNKNOWN
MYSQLI_STATUS_CLEARED (for future use)
MYSQLI_STATUS_INITIALIZED (after mysqli_init and mysqli_stmt_init)
MYSQLI_STATUS_VALID (for valid objects)
removed valid flag
changed MYSQLI_FETCH_RESOURCE
added last parameter __check which specifies the status

18 years agoFixed SoapFault::getMessage()
Dmitry Stogov [Fri, 24 Mar 2006 08:45:54 +0000 (08:45 +0000)]
Fixed SoapFault::getMessage()

18 years ago- My eyes don't hurt anymore
Marcus Boerger [Thu, 23 Mar 2006 21:28:06 +0000 (21:28 +0000)]
- My eyes don't hurt anymore

18 years ago- MFH
Marcus Boerger [Thu, 23 Mar 2006 19:55:16 +0000 (19:55 +0000)]
- MFH
  . spl_autoload_register() return bool to denote success/failure
  . spl_autoload_unregister() acept any callable

18 years agoreturn FALSE if driver doesn't support quoting (this is what docu says)
Antony Dovgal [Thu, 23 Mar 2006 19:01:46 +0000 (19:01 +0000)]
return FALSE if driver doesn't support quoting (this is what docu says)
also fixed PECL bug #6365

18 years agoAdded myself to PDO and PDO_MySQL credits
Ilia Alshanetsky [Thu, 23 Mar 2006 18:36:47 +0000 (18:36 +0000)]
Added myself to PDO and PDO_MySQL credits
Added Wez to PDO_MySQL credits
Added Tony to Q&A team credits
Regenerated the credits file

18 years agoadd missing skipif sections
Antony Dovgal [Thu, 23 Mar 2006 15:03:27 +0000 (15:03 +0000)]
add missing skipif sections

18 years agofix typos
Antony Dovgal [Thu, 23 Mar 2006 14:56:12 +0000 (14:56 +0000)]
fix typos

18 years ago- Initialized callable_name if present
Marcus Boerger [Thu, 23 Mar 2006 13:14:55 +0000 (13:14 +0000)]
- Initialized callable_name if present

18 years ago- MFH Add new test
Marcus Boerger [Thu, 23 Mar 2006 12:21:40 +0000 (12:21 +0000)]
- MFH Add new test

18 years ago- MFH: Add new test
Marcus Boerger [Thu, 23 Mar 2006 11:57:34 +0000 (11:57 +0000)]
- MFH: Add new test

18 years ago- Add missing bug title and synch with other tests
Marcus Boerger [Thu, 23 Mar 2006 11:48:59 +0000 (11:48 +0000)]
- Add missing bug title and synch with other tests

18 years agoFixed possible memory corruption
Dmitry Stogov [Thu, 23 Mar 2006 11:42:32 +0000 (11:42 +0000)]
Fixed possible memory corruption

18 years ago- Fix build
Marcus Boerger [Thu, 23 Mar 2006 10:44:39 +0000 (10:44 +0000)]
- Fix build

18 years agoCleanup
Dmitry Stogov [Thu, 23 Mar 2006 10:19:30 +0000 (10:19 +0000)]
Cleanup

18 years agoAllowed '-b' with UNIX sockets:
Dmitry Stogov [Thu, 23 Mar 2006 10:15:01 +0000 (10:15 +0000)]
Allowed '-b' with UNIX sockets:
  -b <hostname>:<port_number>
  -b <port_number>
  -b <unix_socket_path>

18 years ago- Fixed fetching of string value bigger than 128bytes when no options
Pierre Joye [Thu, 23 Mar 2006 01:24:36 +0000 (01:24 +0000)]
- Fixed fetching of string value bigger than 128bytes when no options
  are used

18 years agofix leak
Antony Dovgal [Wed, 22 Mar 2006 23:12:03 +0000 (23:12 +0000)]
fix leak

18 years agoadd test
Antony Dovgal [Wed, 22 Mar 2006 23:10:59 +0000 (23:10 +0000)]
add test

18 years agoprevent segfault when exception is thrown from Countable::count()
Antony Dovgal [Wed, 22 Mar 2006 22:05:51 +0000 (22:05 +0000)]
prevent segfault when exception is thrown from Countable::count()

18 years agofix #36825 (Exceptions thrown in ArrayObject::offsetGet cause segfault)
Antony Dovgal [Wed, 22 Mar 2006 21:56:40 +0000 (21:56 +0000)]
fix #36825 (Exceptions thrown in ArrayObject::offsetGet cause segfault)
fix similar issue in offsetExists()
remove redundant semicolons

18 years agoMFH: use set_time_limit(), this test takes forever on AIX
Antony Dovgal [Wed, 22 Mar 2006 19:27:47 +0000 (19:27 +0000)]
MFH: use set_time_limit(), this test takes forever on AIX

18 years agofix #36820 (Privileged connection with an Oracle password file fails)
Antony Dovgal [Wed, 22 Mar 2006 09:45:39 +0000 (09:45 +0000)]
fix #36820 (Privileged connection with an Oracle password file fails)

18 years agoMFH:
Marcus Boerger [Tue, 21 Mar 2006 18:17:15 +0000 (18:17 +0000)]
MFH:
- Drop --no-prefix as disables --prefix which we do for http://gcov.php.net
# If you need/want this edit your makefile or provide a LTP_GENHTML export
# of your need when running buildconf

18 years agochange oci_field_type() to return VARCHAR2 instead of VARCHAR
Antony Dovgal [Tue, 21 Mar 2006 15:47:31 +0000 (15:47 +0000)]
change oci_field_type() to return VARCHAR2 instead of VARCHAR
(fixes feature request #36800)

18 years agoFixed bug #36802 (mysqli_set_charset() crash with a non-open connection).
Ilia Alshanetsky [Tue, 21 Mar 2006 15:35:28 +0000 (15:35 +0000)]
Fixed bug #36802 (mysqli_set_charset() crash with a non-open connection).

18 years agoreimplement php_oci_lob_read() and fix PECL bug #5995
Antony Dovgal [Tue, 21 Mar 2006 15:06:50 +0000 (15:06 +0000)]
reimplement php_oci_lob_read() and fix PECL bug #5995
now the function dosn't try to read data by blocks, as this is nearly impossible
to do with Unicode and regular LOBs in the same time

18 years agoFixed compatibility with auto_globals_jit
Dmitry Stogov [Tue, 21 Mar 2006 12:26:57 +0000 (12:26 +0000)]
Fixed compatibility with auto_globals_jit

18 years agoFixed bug #36721 (The SoapServer is not able to send a header that it didn't receive)
Dmitry Stogov [Tue, 21 Mar 2006 12:04:55 +0000 (12:04 +0000)]
Fixed bug #36721 (The SoapServer is not able to send a header that it didn't receive)

18 years agoFixed bug #36809 (__FILE__ behavior changed)
Dmitry Stogov [Tue, 21 Mar 2006 08:49:42 +0000 (08:49 +0000)]
Fixed bug #36809 (__FILE__ behavior changed)

18 years agoMFH
Rui Hirokawa [Tue, 21 Mar 2006 07:56:28 +0000 (07:56 +0000)]
MFH

18 years agoFixed bug #36749 (SOAP: 'Error Fetching http body' when using HTTP Proxy)
Dmitry Stogov [Tue, 21 Mar 2006 07:22:59 +0000 (07:22 +0000)]
Fixed bug #36749 (SOAP: 'Error Fetching http body' when using HTTP Proxy)

18 years agoMFH.
Rui Hirokawa [Tue, 21 Mar 2006 02:20:15 +0000 (02:20 +0000)]
MFH.

18 years ago*** empty log message ***
Rui Hirokawa [Tue, 21 Mar 2006 02:10:55 +0000 (02:10 +0000)]
*** empty log message ***

18 years ago@added possible encoding attack detection by mb_get_info('illegalchars').
Rui Hirokawa [Tue, 21 Mar 2006 01:58:27 +0000 (01:58 +0000)]
@added possible encoding attack detection by mb_get_info('illegalchars').

18 years agoFixed bug #36689 (Removed arbitrary limit on the length of syslog messages).
Ilia Alshanetsky [Tue, 21 Mar 2006 00:59:08 +0000 (00:59 +0000)]
Fixed bug #36689 (Removed arbitrary limit on the length of syslog messages).

18 years agoshutdown syslog module before freeing basic_globals
Antony Dovgal [Mon, 20 Mar 2006 23:32:58 +0000 (23:32 +0000)]
shutdown syslog module before freeing basic_globals

18 years ago.. and add missing #ifdef
Antony Dovgal [Mon, 20 Mar 2006 23:06:00 +0000 (23:06 +0000)]
.. and add missing #ifdef

18 years agofix wrong mshutdown func params
Antony Dovgal [Mon, 20 Mar 2006 23:04:30 +0000 (23:04 +0000)]
fix wrong mshutdown func params

18 years agofix #36808 (syslog ident becomes garbage between requests)
Antony Dovgal [Mon, 20 Mar 2006 23:03:11 +0000 (23:03 +0000)]
fix #36808 (syslog ident becomes garbage between requests)

18 years agoMFH: fix #36741 (userstreams testcase have off-by-one error on fseek())
Antony Dovgal [Mon, 20 Mar 2006 22:09:11 +0000 (22:09 +0000)]
MFH: fix #36741 (userstreams testcase have off-by-one error on fseek())

18 years agoRemoved unreachable code
Dmitry Stogov [Mon, 20 Mar 2006 15:13:41 +0000 (15:13 +0000)]
Removed unreachable code

18 years agoMFH: fix buffer overrun
Antony Dovgal [Mon, 20 Mar 2006 14:10:35 +0000 (14:10 +0000)]
MFH: fix buffer overrun

18 years agoMFH: initialize retval
Antony Dovgal [Mon, 20 Mar 2006 13:54:16 +0000 (13:54 +0000)]
MFH: initialize retval

18 years agoFixed bug #36749 (SOAP: 'Error Fetching http body' when using HTTP Proxy)
Dmitry Stogov [Mon, 20 Mar 2006 10:36:55 +0000 (10:36 +0000)]
Fixed bug #36749 (SOAP: 'Error Fetching http body' when using HTTP Proxy)

18 years agoFixed register_argc_argv behavior. Now it behave in the same way as before in all...
Dmitry Stogov [Mon, 20 Mar 2006 10:15:02 +0000 (10:15 +0000)]
Fixed register_argc_argv behavior. Now it behave in the same way as before in all combinations with register_globals, register_long_arrays, variables_order and auto_globals_jit.

18 years agofirst check stream for NULL, then dereference
Antony Dovgal [Sun, 19 Mar 2006 22:33:10 +0000 (22:33 +0000)]
first check stream for NULL, then dereference

18 years agoMFH: make the code cleaner
Antony Dovgal [Sun, 19 Mar 2006 22:11:36 +0000 (22:11 +0000)]
MFH: make the code cleaner

18 years ago- Missing skipif
Marcus Boerger [Sun, 19 Mar 2006 18:25:51 +0000 (18:25 +0000)]
- Missing skipif

18 years agoProperly calculate the size of the result array.
Ilia Alshanetsky [Sun, 19 Mar 2006 17:35:36 +0000 (17:35 +0000)]
Properly calculate the size of the result array.

18 years ago- add comitters name
Michael Wallner [Sun, 19 Mar 2006 15:19:08 +0000 (15:19 +0000)]
- add comitters name

18 years ago- Fixed Apache2 SAPIs header handler modifying header strings.
Michael Wallner [Sun, 19 Mar 2006 15:18:20 +0000 (15:18 +0000)]
- Fixed Apache2 SAPIs header handler modifying header strings.

18 years ago- fix php_apache_sapi_header_handler() modifying sapi_header
Michael Wallner [Sun, 19 Mar 2006 14:54:53 +0000 (14:54 +0000)]
- fix php_apache_sapi_header_handler() modifying sapi_header
# already taken care of in apcache1 sapi

18 years agofix several leaks in date_sun*() functions
Antony Dovgal [Sat, 18 Mar 2006 23:43:48 +0000 (23:43 +0000)]
fix several leaks in date_sun*() functions

18 years agoMFH: check stream for NULL before writing to it
Antony Dovgal [Sat, 18 Mar 2006 22:24:05 +0000 (22:24 +0000)]
MFH: check stream for NULL before writing to it
remove unnecessary semicolons

18 years agoAdded support for BINARY_DOUBLE and BINARY_FLOAT to PDO_OCI and OCI8 (also fixes...
Antony Dovgal [Sat, 18 Mar 2006 22:06:31 +0000 (22:06 +0000)]
Added support for BINARY_DOUBLE and BINARY_FLOAT to PDO_OCI and OCI8 (also fixes bug #36764)

18 years ago- MFH Fix seek/eof issue in temp streams
Marcus Boerger [Sat, 18 Mar 2006 19:57:00 +0000 (19:57 +0000)]
- MFH Fix seek/eof issue in temp streams

18 years agoBFN
Rob Richards [Sat, 18 Mar 2006 11:47:05 +0000 (11:47 +0000)]
BFN

18 years agoFixed bug #36756 (DOMDocument::removeChild corrupts node)
Rob Richards [Sat, 18 Mar 2006 11:44:49 +0000 (11:44 +0000)]
Fixed bug #36756 (DOMDocument::removeChild corrupts node)
add test

18 years agofix #36727 (segfault in pdo_pgsql bindValue() when no parameters are defined)
Antony Dovgal [Fri, 17 Mar 2006 22:15:57 +0000 (22:15 +0000)]
fix #36727 (segfault in pdo_pgsql bindValue() when no parameters are defined)

18 years agoEliminated unnecessary getcwd() syscall
Dmitry Stogov [Fri, 17 Mar 2006 10:42:31 +0000 (10:42 +0000)]
Eliminated unnecessary getcwd() syscall

18 years agofix #36743 (In a class extending XMLReader array properties are not writable)
Antony Dovgal [Fri, 17 Mar 2006 10:15:58 +0000 (10:15 +0000)]
fix #36743 (In a class extending XMLReader array properties are not writable)

18 years agoOptimized FastCGI SAPI check. Check for ini options only once.
Dmitry Stogov [Fri, 17 Mar 2006 09:32:30 +0000 (09:32 +0000)]
Optimized FastCGI SAPI check. Check for ini options only once.

18 years agoAllowed 'auto_globals_jit' work together with 'register_argc_argv'
Dmitry Stogov [Fri, 17 Mar 2006 08:58:51 +0000 (08:58 +0000)]
Allowed 'auto_globals_jit' work together with 'register_argc_argv'

18 years agoFIX: For some reason SIGSEGV handler wasn't set, but was restoring. Now all SIGSEGV...
Dmitry Stogov [Fri, 17 Mar 2006 08:47:41 +0000 (08:47 +0000)]
FIX: For some reason SIGSEGV handler wasn't set, but was restoring. Now all SIGSEGV related code is commented.

18 years agoOptimization of module unloading (temporary modules can be only in the end)
Dmitry Stogov [Fri, 17 Mar 2006 08:34:16 +0000 (08:34 +0000)]
Optimization of module unloading (temporary modules can be only in the end)

18 years agoAllow PDO_MYSQL_ATTR_DIRECT_QUERY to be set via constructor
Ilia Alshanetsky [Fri, 17 Mar 2006 00:15:09 +0000 (00:15 +0000)]
Allow PDO_MYSQL_ATTR_DIRECT_QUERY to be set via constructor
Allow getAttribute() to fetch MySQL specific attributes.
Eliminate unnecessary auto-commit call on connect.

18 years ago- Fix test
Marcus Boerger [Thu, 16 Mar 2006 00:39:50 +0000 (00:39 +0000)]
- Fix test

18 years agoFixed Bug #36614 (Segfault when using Soap)
Dmitry Stogov [Wed, 15 Mar 2006 16:13:18 +0000 (16:13 +0000)]
Fixed Bug #36614 (Segfault when using Soap)

18 years agoFixed memory leak on unused bind var.
Ilia Alshanetsky [Wed, 15 Mar 2006 15:25:50 +0000 (15:25 +0000)]
Fixed memory leak on unused bind var.

18 years agoFix: incorrect string length passed
Dmitry Stogov [Wed, 15 Mar 2006 14:12:26 +0000 (14:12 +0000)]
Fix: incorrect string length passed

18 years agoAdded E_STRICT warning in case of calling non-static method from incompatible context...
Dmitry Stogov [Wed, 15 Mar 2006 11:12:45 +0000 (11:12 +0000)]
Added E_STRICT warning in case of calling non-static method from incompatible context (this feature is staying for BC with php-4).

18 years agoEliminated run-time constant fetching for TRUE, FALSE and NULL
Dmitry Stogov [Wed, 15 Mar 2006 09:04:36 +0000 (09:04 +0000)]
Eliminated run-time constant fetching for TRUE, FALSE and NULL

18 years agoFixed "zend_vm_gen.php --without-specializer"
Dmitry Stogov [Wed, 15 Mar 2006 08:06:28 +0000 (08:06 +0000)]
Fixed "zend_vm_gen.php --without-specializer"