]> granicus.if.org Git - php/log
php
10 years agoFixed bug #68381 Set FPM log level earlier during init
David Zuelke [Sat, 8 Nov 2014 22:22:54 +0000 (17:22 -0500)]
Fixed bug #68381 Set FPM log level earlier during init

The log level will be ignored throughout log events in fpm_unix_init_main, until
the very end when zlog_set_level is finally called.

In particular, fpm_unix_conf_wp may throw notices like this:

> [08-Nov-2014 17:13:36] NOTICE: [pool www] 'user' directive is ignored when…

Which will still appear even if log_level in php-fpm.conf is set to warning+

10 years agoupdate fpm configuration for #68428
Remi Collet [Mon, 17 Nov 2014 08:35:20 +0000 (09:35 +0100)]
update fpm configuration for #68428

10 years agofix incompatible pointer types
Anatol Belski [Mon, 17 Nov 2014 07:48:32 +0000 (08:48 +0100)]
fix incompatible pointer types

10 years agoNEWS
Remi Collet [Mon, 17 Nov 2014 08:23:16 +0000 (09:23 +0100)]
NEWS

10 years agoFixed bug #68428 allowed_client is IPv4 only
Remi Collet [Mon, 17 Nov 2014 08:22:13 +0000 (09:22 +0100)]
Fixed bug #68428 allowed_client is IPv4 only

10 years agocomment about ipv4-mapped in fpm conf
Remi Collet [Mon, 17 Nov 2014 05:57:59 +0000 (06:57 +0100)]
comment about ipv4-mapped in fpm conf

10 years agoImprove fix bug #68421 access.format='%R' doesn't log ipv6 address
Remi Collet [Mon, 17 Nov 2014 05:53:38 +0000 (06:53 +0100)]
Improve fix bug #68421 access.format='%R' doesn't log ipv6 address

Log IPv4-Mapped-Ipv6 address as IPv4 (not as IPv6)

10 years agoimprove comments about FPM listen option
Remi Collet [Sun, 16 Nov 2014 16:59:36 +0000 (17:59 +0100)]
improve comments about FPM listen option

10 years agoNEWS
Remi Collet [Sat, 15 Nov 2014 07:13:56 +0000 (08:13 +0100)]
NEWS

10 years agoFixed Bug #68420 listen=9000 listens to ipv6 localhost instead of all addresses
Remi Collet [Sat, 15 Nov 2014 07:08:23 +0000 (08:08 +0100)]
Fixed Bug #68420 listen=9000 listens to ipv6 localhost instead of all addresses

Restore default behavior when no address configured:
Listen on all IPv4 addresses.

At some time we could consider to switch to all IPv6
but this will be a BC break.

10 years agoNEWS
Remi Collet [Fri, 14 Nov 2014 18:13:53 +0000 (19:13 +0100)]
NEWS

10 years agoFix bug #68421 access.format='%R' doesn't log ipv6 address
Remi Collet [Fri, 14 Nov 2014 18:09:50 +0000 (19:09 +0100)]
Fix bug #68421 access.format='%R' doesn't log ipv6 address

10 years agoFix bug #68423i PHP-FPM will no longer load all pools
Remi Collet [Fri, 14 Nov 2014 16:29:31 +0000 (17:29 +0100)]
Fix bug #68423i PHP-FPM will no longer load all pools

The hash need to be unique per IP + Port
Previous version have (IPv4 only)
   sprintf(key, "%u.%u.%u.%u:%u", IPQUAD(&sa_in->sin_addr), (unsigned int) ntohs(sa_in->sin_port));

10 years agoFixed NEWS
Matteo Beccati [Wed, 12 Nov 2014 15:45:36 +0000 (16:45 +0100)]
Fixed NEWS

Some entries had been mistakenly removed in ad468d20b130c720020139b8d5f6601f6f3033ab

10 years agoFixed bug #53829 Compiling PHP with large file support will replace function gzopen...
Matteo Beccati [Wed, 12 Nov 2014 10:21:11 +0000 (11:21 +0100)]
Fixed bug #53829 Compiling PHP with large file support will replace function gzopen by gzopen64

10 years agoFixed wrong NEWS
Julien Pauli [Wed, 12 Nov 2014 09:59:54 +0000 (10:59 +0100)]
Fixed wrong NEWS

10 years agoMerge branch 'PHp-5.4' into PHP-5.5
Stanislav Malyshev [Wed, 12 Nov 2014 00:32:38 +0000 (16:32 -0800)]
Merge branch 'PHp-5.4' into PHP-5.5

* PHp-5.4:
  5.4.36-dev
  Fixed bug #66584 Segmentation fault on statement deallocation

Conflicts:
configure.in
main/php_version.h

10 years ago5.4.36-dev
Stanislav Malyshev [Wed, 12 Nov 2014 00:31:38 +0000 (16:31 -0800)]
5.4.36-dev

10 years agoFixed bug #66584 Segmentation fault on statement deallocation
Matteo Beccati [Sat, 1 Nov 2014 18:11:43 +0000 (19:11 +0100)]
Fixed bug #66584 Segmentation fault on statement deallocation

10 years agoupdate NEWS
Ferenc Kovacs [Tue, 11 Nov 2014 23:19:51 +0000 (00:19 +0100)]
update NEWS

10 years agoMerge branch 'PHP-5.4' into PHP-5.5
Ferenc Kovacs [Tue, 11 Nov 2014 23:18:55 +0000 (00:18 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  update NEWS

10 years agoupdate NEWS
Ferenc Kovacs [Tue, 11 Nov 2014 23:18:13 +0000 (00:18 +0100)]
update NEWS

10 years ago- Updated to version 2014.10 (2014j)
Derick Rethans [Tue, 11 Nov 2014 17:01:24 +0000 (14:01 -0300)]
- Updated to version 2014.10 (2014j)

10 years agoFixed bug #68361 (Segmentation fault on SoapClient::__getTypes)
Xinchen Hui [Tue, 11 Nov 2014 08:22:49 +0000 (16:22 +0800)]
Fixed bug #68361 (Segmentation fault on SoapClient::__getTypes)

10 years agoFix skipif test here
Rasmus Lerdorf [Mon, 10 Nov 2014 18:41:18 +0000 (10:41 -0800)]
Fix skipif test here

10 years agoMerge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
Rasmus Lerdorf [Mon, 10 Nov 2014 18:42:30 +0000 (10:42 -0800)]
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5

* 'PHP-5.5' of git.php.net:php-src:
  Fixed bug #68370 ("unset($this)" can make the program crash)
  Fixed NEWS for 5.5
  Fix opcache.revalidate_freq per-request behavior
  Partial fix for bug #68365 (zend_mm_heap corrupted after memory overflow in zend_hash_copy)

10 years agoMerge branch 'PHP-5.5' of https://git.php.net/repository/php-src into PHP-5.5
Xinchen Hui [Mon, 10 Nov 2014 05:52:07 +0000 (13:52 +0800)]
Merge branch 'PHP-5.5' of https://git.php.net/repository/php-src into PHP-5.5

10 years agoFixed bug #68370 ("unset($this)" can make the program crash)
Xinchen Hui [Mon, 10 Nov 2014 05:46:47 +0000 (13:46 +0800)]
Fixed bug #68370 ("unset($this)" can make the program crash)

10 years agoFixed NEWS for 5.5
Julien Pauli [Fri, 7 Nov 2014 11:59:48 +0000 (12:59 +0100)]
Fixed NEWS for 5.5

10 years agoFix opcache.revalidate_freq per-request behavior
Dmitry Stogov [Fri, 7 Nov 2014 07:16:25 +0000 (10:16 +0300)]
Fix opcache.revalidate_freq per-request behavior

10 years agoMerge branch 'PHP-5.4' into PHP-5.5
Dmitry Stogov [Fri, 7 Nov 2014 06:48:26 +0000 (09:48 +0300)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Partial fix for bug #68365 (zend_mm_heap corrupted after memory overflow in zend_hash_copy)

10 years agoPartial fix for bug #68365 (zend_mm_heap corrupted after memory overflow in zend_hash...
Dmitry Stogov [Fri, 7 Nov 2014 06:46:49 +0000 (09:46 +0300)]
Partial fix for bug #68365 (zend_mm_heap corrupted after memory overflow in zend_hash_copy)

10 years agoMerge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
Rasmus Lerdorf [Thu, 6 Nov 2014 17:49:11 +0000 (09:49 -0800)]
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5

* 'PHP-5.5' of git.php.net:php-src:
  Fixed bug #68351 (PDO::PARAM_BOOL and ATTR_EMULATE_PREPARES misbehaving)

10 years agoFixed bug #68351 (PDO::PARAM_BOOL and ATTR_EMULATE_PREPARES misbehaving)
Matteo Beccati [Thu, 6 Nov 2014 14:46:49 +0000 (15:46 +0100)]
Fixed bug #68351 (PDO::PARAM_BOOL and ATTR_EMULATE_PREPARES misbehaving)

10 years agoMerge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
Rasmus Lerdorf [Wed, 5 Nov 2014 20:39:42 +0000 (12:39 -0800)]
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5

* 'PHP-5.5' of git.php.net:php-src: (29 commits)
  fix dir separator in test
  update NEWS
  Fix bug #63595 GMP memory management conflicts with other libraries using GMP
  Initialize the offset table - PCRE may sometimes miss offsets
  set default response code to 200
  set default response code to 200
  Fixed bug #66584 Segmentation fault on statement deallocation
  fix ZTS build
  Added PGSQL_TEST_CONNSTR env var support for ext/pgsql tests
  Fixed bug #67462 PDO_PGSQL::beginTransaction() wrongly throws exception when not in transaction
  don't try to send in the test results until we restored qa.php.net
  Don't treat warnings as failures in the junit output
  Fixed test to work with recent libcurl versions
  PHP 5.5.20 now
  Ensure we have enough input data before parsing date
  Fix bug #68095 - invalid read in php_getopt()
  NEWS
  Fix bug #63595 GMP memory management conflicts with other libraries using GMP
  - Updated to version 2014.9 (2014i)
  updated libmagic.patch in 5.5
  ...

10 years agofix dir separator in test
Anatol Belski [Wed, 5 Nov 2014 14:42:45 +0000 (15:42 +0100)]
fix dir separator in test

10 years agoMerge branch 'PHP-5.4' into PHP-5.5
Stanislav Malyshev [Mon, 3 Nov 2014 19:43:40 +0000 (11:43 -0800)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  update NEWS
  Fix bug #63595 GMP memory management conflicts with other libraries using GMP

10 years agoupdate NEWS
Stanislav Malyshev [Mon, 3 Nov 2014 19:43:15 +0000 (11:43 -0800)]
update NEWS

10 years agoFix bug #63595 GMP memory management conflicts with other libraries using GMP
Remi Collet [Mon, 27 Oct 2014 06:45:34 +0000 (07:45 +0100)]
Fix bug #63595 GMP memory management conflicts with other libraries using GMP

Drop use of php memory allocators as this raise various conflicts
with other extensions and libraries which use libgmp.

No other solution found.
We cannot for ensure correct use of allocator with shared lib.

Some memory can allocated before php init
Some memory can be freed after php shutdown

Known broken run cases
- php + curl + gnutls + gmp
- mod_gnutls + mod_php + gnutls + gmp
- php + freetds + gnutls + gmp
- php + odbc + freetds + gnutls + gmp
- php + php-mapi (zarafa) + gnutls + gmp

10 years agoMerge branch 'PHP-5.4' into PHP-5.5
Stanislav Malyshev [Mon, 3 Nov 2014 19:37:43 +0000 (11:37 -0800)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Initialize the offset table - PCRE may sometimes miss offsets
  set default response code to 200
  fix NEWS & version
  NEWS
  Fix bug #68283: fileinfo: out-of-bounds read in elf note headers
  Fix bug #68113 (Heap corruption in exif_thumbnail())
  Fix bug #68089 - do not accept options with embedded \0
  Fixed bug #68044: Integer overflow in unserialize() (32-bits only)
  Fix bug #68027 - fix date parsing in XMLRPC lib

Conflicts:
configure.in
ext/curl/interface.c
main/php_version.h

10 years agoInitialize the offset table - PCRE may sometimes miss offsets
Stanislav Malyshev [Mon, 3 Nov 2014 00:04:00 +0000 (16:04 -0800)]
Initialize the offset table - PCRE may sometimes miss offsets

10 years agoMerge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
George Wang [Mon, 3 Nov 2014 16:43:43 +0000 (11:43 -0500)]
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5

10 years agoset default response code to 200
George Wang [Mon, 3 Nov 2014 16:42:01 +0000 (11:42 -0500)]
set default response code to 200

10 years agoset default response code to 200
George Wang [Mon, 3 Nov 2014 16:42:01 +0000 (11:42 -0500)]
set default response code to 200

10 years agoFixed bug #66584 Segmentation fault on statement deallocation
Matteo Beccati [Sat, 1 Nov 2014 18:11:43 +0000 (19:11 +0100)]
Fixed bug #66584 Segmentation fault on statement deallocation

10 years agofix ZTS build
Anatol Belski [Fri, 31 Oct 2014 18:53:16 +0000 (19:53 +0100)]
fix ZTS build

10 years agoAdded PGSQL_TEST_CONNSTR env var support for ext/pgsql tests
Matteo Beccati [Fri, 31 Oct 2014 17:54:16 +0000 (18:54 +0100)]
Added PGSQL_TEST_CONNSTR env var support for ext/pgsql tests

10 years agoFixed bug #67462 PDO_PGSQL::beginTransaction() wrongly throws exception when not...
Matteo Beccati [Fri, 31 Oct 2014 17:10:01 +0000 (18:10 +0100)]
Fixed bug #67462 PDO_PGSQL::beginTransaction() wrongly throws exception when not in transaction

10 years agodon't try to send in the test results until we restored qa.php.net
Ferenc Kovacs [Thu, 30 Oct 2014 17:12:37 +0000 (18:12 +0100)]
don't try to send in the test results until we restored qa.php.net

10 years agoDon't treat warnings as failures in the junit output
Matteo Beccati [Wed, 29 Oct 2014 13:32:41 +0000 (14:32 +0100)]
Don't treat warnings as failures in the junit output

This matches Travis and the actual return code.

10 years agoFixed test to work with recent libcurl versions
Matteo Beccati [Wed, 29 Oct 2014 10:26:22 +0000 (11:26 +0100)]
Fixed test to work with recent libcurl versions

10 years agoPHP 5.5.20 now
Julien Pauli [Tue, 28 Oct 2014 14:01:53 +0000 (15:01 +0100)]
PHP 5.5.20 now

10 years agoEnsure we have enough input data before parsing date
Remi Collet [Tue, 28 Oct 2014 07:48:22 +0000 (08:48 +0100)]
Ensure we have enough input data before parsing date

This check have be removed in
http://git.php.net/?p=php-src.git;a=commit;h=ba2f87b50667f147c198abd31fc31eb09522f3d7
But the parser really need 17 char.
And the string need to be nul terminated for this check
So avoid reading random byte from memory.

10 years agoFix bug #68095 - invalid read in php_getopt()
Stanislav Malyshev [Tue, 28 Oct 2014 02:04:46 +0000 (19:04 -0700)]
Fix bug #68095 - invalid read in php_getopt()

It's a hacky solution and incomplete, but I don't see other way
without refactoring the whole getopt protocol.

10 years agoNEWS
Remi Collet [Mon, 27 Oct 2014 06:47:18 +0000 (07:47 +0100)]
NEWS

10 years agoFix bug #63595 GMP memory management conflicts with other libraries using GMP
Remi Collet [Mon, 27 Oct 2014 06:45:34 +0000 (07:45 +0100)]
Fix bug #63595 GMP memory management conflicts with other libraries using GMP

Drop use of php memory allocators as this raise various conflicts
with other extensions and libraries which use libgmp.

No other solution found.
We cannot for ensure correct use of allocator with shared lib.

Some memory can allocated before php init
Some memory can be freed after php shutdown

Known broken run cases
- php + curl + gnutls + gmp
- mod_gnutls + mod_php + gnutls + gmp
- php + freetds + gnutls + gmp
- php + odbc + freetds + gnutls + gmp
- php + php-mapi (zarafa) + gnutls + gmp

10 years ago- Updated to version 2014.9 (2014i)
Derick Rethans [Sun, 26 Oct 2014 14:54:07 +0000 (10:54 -0400)]
- Updated to version 2014.9 (2014i)

10 years agoupdated libmagic.patch in 5.5
Anatol Belski [Sat, 25 Oct 2014 10:01:58 +0000 (12:01 +0200)]
updated libmagic.patch in 5.5

10 years agoNEWS
Remi Collet [Sat, 25 Oct 2014 09:29:53 +0000 (11:29 +0200)]
NEWS

10 years agoFix bug #68283: fileinfo: out-of-bounds read in elf note headers
Remi Collet [Wed, 22 Oct 2014 13:37:04 +0000 (15:37 +0200)]
Fix bug #68283: fileinfo: out-of-bounds read in elf note headers

Upstream commit
https://github.com/file/file/commit/39c7ac1106be844a5296d3eb5971946cc09ffda0

CVE -2014-3710

(cherry picked from commit 1803228597e82218a8c105e67975bc50e6f5bf0d)

10 years agofix NEWS & version
Stanislav Malyshev [Wed, 22 Oct 2014 20:16:29 +0000 (13:16 -0700)]
fix NEWS & version

10 years agoNEWS
Remi Collet [Wed, 22 Oct 2014 13:39:49 +0000 (15:39 +0200)]
NEWS

10 years agoFix bug #68283: fileinfo: out-of-bounds read in elf note headers
Remi Collet [Wed, 22 Oct 2014 13:37:04 +0000 (15:37 +0200)]
Fix bug #68283: fileinfo: out-of-bounds read in elf note headers

Upstream commit
https://github.com/file/file/commit/39c7ac1106be844a5296d3eb5971946cc09ffda0

CVE -2014-3710

10 years agoinitialize lineno before calling compile file file in phar
Anatol Belski [Mon, 20 Oct 2014 13:53:32 +0000 (15:53 +0200)]
initialize lineno before calling compile file file in phar

10 years agoNews entry for new curl constants
Rasmus Lerdorf [Fri, 17 Oct 2014 04:36:53 +0000 (21:36 -0700)]
News entry for new curl constants

10 years agoTLS 1.0, 1.1 and 1.2 Curl constants - bug #68247
Rasmus Lerdorf [Fri, 17 Oct 2014 04:25:29 +0000 (21:25 -0700)]
TLS 1.0, 1.1 and 1.2 Curl constants - bug #68247

10 years agocleanup NEWS
Remi Collet [Wed, 15 Oct 2014 17:47:55 +0000 (19:47 +0200)]
cleanup NEWS

10 years agoNEWS
Remi Collet [Wed, 15 Oct 2014 17:16:45 +0000 (19:16 +0200)]
NEWS

10 years agoFixed Bug #65171 imagescale() fails
Remi Collet [Wed, 15 Oct 2014 17:13:25 +0000 (19:13 +0200)]
Fixed Bug #65171 imagescale() fails

Third param (height) is set as optional,
but default value = -1 is incorrect

Compute correct height to preserve ratio.

10 years agoRevert "Bug #41631: Observe socket read timeouts in SSL streams"
Julien Pauli [Wed, 15 Oct 2014 12:38:12 +0000 (14:38 +0200)]
Revert "Bug #41631: Observe socket read timeouts in SSL streams"

This reverts commit 6569db88081562f68a4f79e52cba83482bdf05fc.

Conflicts:
ext/openssl/xp_ssl.c

10 years agoFix return code (merges are hard :( )
Stanislav Malyshev [Tue, 14 Oct 2014 18:42:33 +0000 (11:42 -0700)]
Fix return code (merges are hard :( )

10 years agoFix bug #68113 (Heap corruption in exif_thumbnail())
Stanislav Malyshev [Sun, 28 Sep 2014 23:57:42 +0000 (16:57 -0700)]
Fix bug #68113 (Heap corruption in exif_thumbnail())

10 years agoFix bug #68089 - do not accept options with embedded \0
Stanislav Malyshev [Mon, 29 Sep 2014 00:53:49 +0000 (17:53 -0700)]
Fix bug #68089 - do not accept options with embedded \0

Conflicts:
ext/curl/interface.c

10 years agoFixed bug #68044: Integer overflow in unserialize() (32-bits only)
Stanislav Malyshev [Sun, 28 Sep 2014 21:19:31 +0000 (14:19 -0700)]
Fixed bug #68044: Integer overflow in unserialize() (32-bits only)

10 years agoFix bug #68027 - fix date parsing in XMLRPC lib
Stanislav Malyshev [Mon, 29 Sep 2014 00:33:44 +0000 (17:33 -0700)]
Fix bug #68027 - fix date parsing in XMLRPC lib

10 years agoFixed bug #68128
Tjerk Meesters [Mon, 6 Oct 2014 01:40:39 +0000 (09:40 +0800)]
Fixed bug #68128

Three issues are addressed:

- RecursiveRegexIterator::accept() should accept non-empty arrays without
  applying any regular expression and RegexIterator::accept() should not accept
  an array.
- RegexIterator::accept() should not accept an atom that fails to match
  anything, even when PREG_PATTERN_ORDER is used (which would return an array
  of empty arrays).
- RecursiveRegexIterator::getChildren() should pass all constructor arguments
  to its child iterator instead of just the regular expression.

10 years agoFix bug #68113 (Heap corruption in exif_thumbnail())
Stanislav Malyshev [Sun, 28 Sep 2014 23:57:42 +0000 (16:57 -0700)]
Fix bug #68113 (Heap corruption in exif_thumbnail())

10 years agoFix bug #68089 - do not accept options with embedded \0
Stanislav Malyshev [Mon, 29 Sep 2014 00:53:49 +0000 (17:53 -0700)]
Fix bug #68089 - do not accept options with embedded \0

Conflicts:
ext/curl/interface.c

10 years agoFixed bug #68044: Integer overflow in unserialize() (32-bits only)
Stanislav Malyshev [Sun, 28 Sep 2014 21:19:31 +0000 (14:19 -0700)]
Fixed bug #68044: Integer overflow in unserialize() (32-bits only)

10 years agoFix bug #68027 - fix date parsing in XMLRPC lib
Stanislav Malyshev [Mon, 29 Sep 2014 00:33:44 +0000 (17:33 -0700)]
Fix bug #68027 - fix date parsing in XMLRPC lib

10 years agoupdate NEWS
Ard Biesheuvel [Fri, 10 Oct 2014 09:44:39 +0000 (11:44 +0200)]
update NEWS

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
10 years agoMerge branch 'PHP-5.4' into PHP-5.5
Ard Biesheuvel [Fri, 10 Oct 2014 09:41:10 +0000 (11:41 +0200)]
Merge branch 'PHP-5.4' into PHP-5.5

10 years agoupdate NEWS
Ard Biesheuvel [Fri, 10 Oct 2014 09:40:07 +0000 (11:40 +0200)]
update NEWS

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
10 years agoUpdated NEWS for #68129
Tjerk Meesters [Thu, 9 Oct 2014 00:23:42 +0000 (08:23 +0800)]
Updated NEWS for #68129

10 years agoFixed bug #68129
Tjerk Meesters [Sun, 5 Oct 2014 23:27:05 +0000 (07:27 +0800)]
Fixed bug #68129

Empty usernames and passwords are now treated differently from no username or password

For example, empty password:

    ftp://user:@example.org

Empty username:

    ftp://:password@example.org

Empty username and empty password

    ftp://:@example.org

10 years agoAdded info about ext/opcache
Dmitry Stogov [Wed, 8 Oct 2014 17:48:44 +0000 (21:48 +0400)]
Added info about ext/opcache

10 years agoAdd to NEWS
Keyur Govande [Tue, 7 Oct 2014 21:21:23 +0000 (21:21 +0000)]
Add to NEWS

10 years agoFix for bug #68087 (ODBC not reading DATE columns correctly)
Keyur Govande [Tue, 7 Oct 2014 21:17:36 +0000 (21:17 +0000)]
Fix for bug #68087 (ODBC not reading DATE columns correctly)

Temporary variable indicating column field type ID should be
reset to default for loop iteration (i.e. every column in the
record set. The old buggy code made it persist across all columns
leading to invalid reads from the buffer, if for example a DATE
column was preceded by a VARCHAR column.

10 years agoAdd to NEWS
Keyur Govande [Tue, 7 Oct 2014 21:07:19 +0000 (21:07 +0000)]
Add to NEWS

10 years agoFix for bug #68114 (Build fails on OS X due to undefined symbols)
Keyur Govande [Tue, 7 Oct 2014 20:58:43 +0000 (20:58 +0000)]
Fix for bug #68114 (Build fails on OS X due to undefined symbols)

gcc (i686-apple-darwin10-gcc-4.2.1) on OS X cannot link fixed-width
decimals and fails with undefined symbols errors like ___extendsddf.
If configure used gcc for compiling it would notice and mark the
feature HAVE_DECIMAL_FP_SUPPORT as unsupported.
But configure seems to use cc (i686-apple-darwin10-llvm-gcc-4.2)
instead, which doesn't support fixed-width decimals either, but the
code compiles and links just fine. I suspect it may have something
to do with the llvm backend printed in the version.
Lacking the time to debug this further, the patch fixes the issue by
checking the expected output when fixed-width decimal support is
present and correctly implemented.

10 years agoFix accidental edit in previous commit
Johannes Schlüter [Sat, 4 Oct 2014 18:06:02 +0000 (20:06 +0200)]
Fix accidental edit in previous commit

10 years agoFix arginfo
Johannes Schlüter [Sat, 4 Oct 2014 17:59:21 +0000 (19:59 +0200)]
Fix arginfo

10 years agoMerge branch 'PHP-5.4' into PHP-5.5
Derick Rethans [Sat, 4 Oct 2014 14:58:40 +0000 (15:58 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

10 years agoDateTimeZone::getOffset() now accepts a DateTimeInterface
Florian MARGAINE [Mon, 22 Sep 2014 21:35:29 +0000 (23:35 +0200)]
DateTimeZone::getOffset() now accepts a DateTimeInterface

Fixes #68062

10 years agoMerge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
George Wang [Fri, 3 Oct 2014 20:43:08 +0000 (16:43 -0400)]
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5

10 years agoFixed a bug that causes crash when environment variable is access while parsing php.ini
George Wang [Fri, 3 Oct 2014 20:41:32 +0000 (16:41 -0400)]
Fixed a bug that causes crash when environment variable is access while parsing php.ini

10 years agoFixed a bug that causes crash when environment variable is access while parsing php.ini
George Wang [Fri, 3 Oct 2014 20:41:32 +0000 (16:41 -0400)]
Fixed a bug that causes crash when environment variable is access while parsing php.ini

10 years agoFix bug number
Nikita Popov [Fri, 3 Oct 2014 19:41:58 +0000 (21:41 +0200)]
Fix bug number

10 years agoFix bug #68188
Nikita Popov [Fri, 3 Oct 2014 19:24:28 +0000 (21:24 +0200)]
Fix bug #68188

10 years agoNEWS entry for previous commit
Ferenc Kovacs [Fri, 3 Oct 2014 09:38:32 +0000 (11:38 +0200)]
NEWS entry for previous commit