]> granicus.if.org Git - php/log
php
8 years agoMerge branch 'PHP-7.1'
Christoph M. Becker [Sat, 20 Aug 2016 00:28:57 +0000 (02:28 +0200)]
Merge branch 'PHP-7.1'

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Christoph M. Becker [Sat, 20 Aug 2016 00:16:39 +0000 (02:16 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Sat, 20 Aug 2016 00:07:28 +0000 (02:07 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoFix #72714: _xml_startElementHandler() segmentation fault
Christoph M. Becker [Tue, 16 Aug 2016 18:36:33 +0000 (20:36 +0200)]
Fix #72714: _xml_startElementHandler() segmentation fault

The issue is caused by an integer overflow when the `long` passed as
XML_OPTION_SKIP_TAGSTART is assigned to `xml_parser::toffset` which is
declared as `int`. We can simply work around this issue, by clipping
resulting negative values to 0 (and raising a notice in this case), because
the reasonable range for this value is certainly catered to by positive
`int`s.

However, there still remains the issue that `xml_parser::toffset` is later
added to `char *`s, which can cause OOB reads, so we make sure that the
upper bound never exceeds the strlen(). We eschew optimizing `SKIP_TAGSTART`
wrt. to the potentially duplicate strlen() call, because that code path is
unexpected anyway.

8 years agoMerge branch 'PHP-7.1'
Anatol Belski [Fri, 19 Aug 2016 23:39:14 +0000 (01:39 +0200)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  update NEWS
  update NEWS
  update NEWS
  Fixed bug #72852 imap_mail null dereference

8 years agoupdate NEWS
Anatol Belski [Fri, 19 Aug 2016 23:38:56 +0000 (01:38 +0200)]
update NEWS

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Fri, 19 Aug 2016 23:38:30 +0000 (01:38 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  update NEWS
  update NEWS
  Fixed bug #72852 imap_mail null dereference

8 years agoupdate NEWS
Anatol Belski [Fri, 19 Aug 2016 23:38:01 +0000 (01:38 +0200)]
update NEWS

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Fri, 19 Aug 2016 23:37:26 +0000 (01:37 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  update NEWS
  Fixed bug #72852 imap_mail null dereference

8 years agoupdate NEWS
Anatol Belski [Fri, 19 Aug 2016 23:36:37 +0000 (01:36 +0200)]
update NEWS

8 years agoFixed bug #72852 imap_mail null dereference
Anatol Belski [Fri, 19 Aug 2016 23:34:46 +0000 (01:34 +0200)]
Fixed bug #72852 imap_mail null dereference

8 years agoFix dba configuration for Windows
Christoph M. Becker [Fri, 19 Aug 2016 14:45:37 +0000 (16:45 +0200)]
Fix dba configuration for Windows

To be able to build the dba extension on Windows, libdb was required. This
is contrary to *nix where each handler can be configured individually. We
only do minimal modifications, instead of adjusting the Windows configuration
to match the *nix configuration, for now.

8 years agoMerge branch 'PHP-7.1'
Christoph M. Becker [Fri, 19 Aug 2016 14:40:50 +0000 (16:40 +0200)]
Merge branch 'PHP-7.1'

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Christoph M. Becker [Fri, 19 Aug 2016 14:39:56 +0000 (16:39 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Fri, 19 Aug 2016 14:38:53 +0000 (16:38 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoRevert "Fix dba configuration for Windows"
Christoph M. Becker [Fri, 19 Aug 2016 14:35:31 +0000 (16:35 +0200)]
Revert "Fix dba configuration for Windows"

This reverts commit ad76e8a529eabf150f17d313bb035b329bc68dec.

After a discussion with Anatol it seems to be better QA wise to not make
this change in stable versions or betas.

8 years agoMerge branch 'PHP-7.1'
Anatol Belski [Fri, 19 Aug 2016 10:52:51 +0000 (12:52 +0200)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Improve fix for bug #72837

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Fri, 19 Aug 2016 10:52:13 +0000 (12:52 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Improve fix for bug #72837

8 years agoImprove fix for bug #72837
Anatol Belski [Fri, 19 Aug 2016 10:48:13 +0000 (12:48 +0200)]
Improve fix for bug #72837

8 years agoMerge branch 'PHP-7.1'
Christoph M. Becker [Fri, 19 Aug 2016 09:51:25 +0000 (11:51 +0200)]
Merge branch 'PHP-7.1'

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Christoph M. Becker [Fri, 19 Aug 2016 09:49:07 +0000 (11:49 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Fri, 19 Aug 2016 09:47:42 +0000 (11:47 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoFix dba configuration for Windows
Christoph M. Becker [Fri, 19 Aug 2016 09:42:16 +0000 (11:42 +0200)]
Fix dba configuration for Windows

To be able to build the dba extension on Windows, libdb was required. This
is contrary to *nix where each handler can be configured individually. To
avoid BC breaks, we only do minimal modifications, instead of adjusting the
Windows configuration to match the *nix configuration, for now.

8 years agoUpdate NEWS for 7.1.0RC1
Davey Shafik [Fri, 19 Aug 2016 06:51:53 +0000 (06:51 +0000)]
Update NEWS for 7.1.0RC1

8 years agoMerge branch 'PHP-7.1'
Xinchen Hui [Fri, 19 Aug 2016 03:28:48 +0000 (11:28 +0800)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Fixed bug #72888 (Segfault on clone on splFileObject)
  Sync NEWS

8 years agoFixed bug #72888 (Segfault on clone on splFileObject)
Xinchen Hui [Fri, 19 Aug 2016 03:28:36 +0000 (11:28 +0800)]
Fixed bug #72888 (Segfault on clone on splFileObject)

8 years agoSync NEWS
Davey Shafik [Thu, 18 Aug 2016 22:51:03 +0000 (08:51 +1000)]
Sync NEWS

8 years agoMerge branch 'PHP-7.1'
Nikita Popov [Thu, 18 Aug 2016 22:34:38 +0000 (00:34 +0200)]
Merge branch 'PHP-7.1'

8 years agoDecouple DEBUG_FILE_UPLOAD from ZEND_DEBUG
Nikita Popov [Thu, 18 Aug 2016 22:12:27 +0000 (00:12 +0200)]
Decouple DEBUG_FILE_UPLOAD from ZEND_DEBUG

Enabling ZEND_DEBUG should not result in intrusive program
behavior changes.

8 years agoMerge branch 'PHP-7.1'
Christoph M. Becker [Thu, 18 Aug 2016 16:12:50 +0000 (18:12 +0200)]
Merge branch 'PHP-7.1'

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Christoph M. Becker [Thu, 18 Aug 2016 16:03:15 +0000 (18:03 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Thu, 18 Aug 2016 15:56:16 +0000 (17:56 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoMerge branch 'PHP-7.1'
Anatol Belski [Thu, 18 Aug 2016 15:54:04 +0000 (17:54 +0200)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  update NEWS
  update NEWS

8 years agoFix broken test include
Christoph M. Becker [Thu, 18 Aug 2016 15:53:57 +0000 (17:53 +0200)]
Fix broken test include

To avoid that the test stalls, we must always use `t` mode.

8 years agoupdate NEWS
Anatol Belski [Thu, 18 Aug 2016 15:53:08 +0000 (17:53 +0200)]
update NEWS

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Thu, 18 Aug 2016 15:51:18 +0000 (17:51 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  update NEWS

8 years agoupdate NEWS
Anatol Belski [Thu, 18 Aug 2016 15:50:17 +0000 (17:50 +0200)]
update NEWS

8 years agoMerge branch 'PHP-7.1'
Anatol Belski [Thu, 18 Aug 2016 14:31:09 +0000 (16:31 +0200)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  fix format

8 years agofix format
Anatol Belski [Thu, 18 Aug 2016 14:29:46 +0000 (16:29 +0200)]
fix format

8 years agoMerge branch 'PHP-7.1'
Anatol Belski [Thu, 18 Aug 2016 14:02:22 +0000 (16:02 +0200)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  avoid other efforts if memory mapping fails

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Thu, 18 Aug 2016 14:01:23 +0000 (16:01 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  avoid other efforts if memory mapping fails

8 years agoavoid other efforts if memory mapping fails
Anatol Belski [Thu, 18 Aug 2016 13:58:33 +0000 (15:58 +0200)]
avoid other efforts if memory mapping fails

8 years agoMerge branch 'PHP-7.1'
Julien Pauli [Thu, 18 Aug 2016 13:46:26 +0000 (15:46 +0200)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Updated UPGRADING about function call args

8 years agoUpdated UPGRADING about function call args
Julien Pauli [Thu, 18 Aug 2016 13:46:00 +0000 (15:46 +0200)]
Updated UPGRADING about function call args

8 years agoMerge branch 'PHP-7.1'
Anatol Belski [Thu, 18 Aug 2016 13:36:38 +0000 (15:36 +0200)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  fix test

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Thu, 18 Aug 2016 13:36:07 +0000 (15:36 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  fix test

8 years agofix test
Anatol Belski [Thu, 18 Aug 2016 13:35:26 +0000 (15:35 +0200)]
fix test

8 years agoMerge branch 'PHP-7.1'
Anatol Belski [Thu, 18 Aug 2016 13:31:36 +0000 (15:31 +0200)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  map ell the err code

8 years agomap ell the err code
Anatol Belski [Thu, 18 Aug 2016 13:26:24 +0000 (15:26 +0200)]
map ell the err code

8 years agoMerge branch 'PHP-7.1'
Anatol Belski [Thu, 18 Aug 2016 12:41:08 +0000 (14:41 +0200)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Fixed bug #72858 shm_attach null dereference

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Thu, 18 Aug 2016 12:40:20 +0000 (14:40 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fixed bug #72858 shm_attach null dereference

8 years agoFixed bug #72858 shm_attach null dereference
Anatol Belski [Thu, 18 Aug 2016 12:15:10 +0000 (14:15 +0200)]
Fixed bug #72858 shm_attach null dereference

8 years agoMerge branch 'PHP-7.1'
Ferenc Kovacs [Thu, 18 Aug 2016 11:05:28 +0000 (13:05 +0200)]
Merge branch 'PHP-7.1'

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Ferenc Kovacs [Thu, 18 Aug 2016 11:04:43 +0000 (13:04 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Ferenc Kovacs [Thu, 18 Aug 2016 11:03:14 +0000 (13:03 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agofix NEWS
Ferenc Kovacs [Thu, 18 Aug 2016 11:01:53 +0000 (13:01 +0200)]
fix NEWS

8 years agoUpdate GIT-RULES release list
Nikita Popov [Thu, 18 Aug 2016 10:30:24 +0000 (12:30 +0200)]
Update GIT-RULES release list

[ci skip]

8 years agoMerge branch 'PHP-7.1'
Xinchen Hui [Thu, 18 Aug 2016 07:45:50 +0000 (15:45 +0800)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Remove leftover of previous change

8 years agoRemove leftover of previous change
Xinchen Hui [Thu, 18 Aug 2016 07:44:33 +0000 (15:44 +0800)]
Remove leftover of previous change

8 years agoMerge branch 'PHP-7.1'
Xinchen Hui [Thu, 18 Aug 2016 07:39:23 +0000 (15:39 +0800)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Fixed segfault introduced in 447e57a1e12cdcc6791302d5097119fb2165475a
  Remove outdate checks

Conflicts:
ext/opcache/Optimizer/zend_inference.c

8 years agoFixed segfault introduced in 447e57a1e12cdcc6791302d5097119fb2165475a
Xinchen Hui [Thu, 18 Aug 2016 07:37:39 +0000 (15:37 +0800)]
Fixed segfault introduced in 447e57a1e12cdcc6791302d5097119fb2165475a

8 years agoRemove outdate checks
Xinchen Hui [Thu, 18 Aug 2016 07:37:15 +0000 (15:37 +0800)]
Remove outdate checks

8 years agoUpdate support - Stefan is no longer maintaining FTP
Stanislav Malyshev [Thu, 18 Aug 2016 07:03:23 +0000 (00:03 -0700)]
Update support - Stefan is no longer maintaining FTP

8 years agoMerge branch 'PHP-7.1'
Christopher Jones [Thu, 18 Aug 2016 05:47:55 +0000 (15:47 +1000)]
Merge branch 'PHP-7.1'

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Christopher Jones [Thu, 18 Aug 2016 05:47:47 +0000 (15:47 +1000)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Christopher Jones [Thu, 18 Aug 2016 05:47:36 +0000 (15:47 +1000)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoAdd myself as PDO_OCI maintainer
Christopher Jones [Thu, 18 Aug 2016 05:47:25 +0000 (15:47 +1000)]
Add myself as PDO_OCI maintainer

8 years agoPrepare for OCI8 PECL release
Christopher Jones [Thu, 18 Aug 2016 03:50:36 +0000 (13:50 +1000)]
Prepare for OCI8 PECL release

8 years agoMerge branch 'PHP-7.1'
Christopher Jones [Thu, 18 Aug 2016 03:54:40 +0000 (13:54 +1000)]
Merge branch 'PHP-7.1'

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Christopher Jones [Thu, 18 Aug 2016 03:52:56 +0000 (13:52 +1000)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoPrepare for OCI8 PECL release
Christopher Jones [Thu, 18 Aug 2016 03:52:50 +0000 (13:52 +1000)]
Prepare for OCI8 PECL release

8 years agoPrepare for OCI8 PECL release
Christopher Jones [Thu, 18 Aug 2016 03:50:36 +0000 (13:50 +1000)]
Prepare for OCI8 PECL release

8 years agoMerge branch 'PHP-7.1'
Anatol Belski [Wed, 17 Aug 2016 22:20:48 +0000 (00:20 +0200)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  fix test

8 years agofix test
Anatol Belski [Wed, 17 Aug 2016 22:18:26 +0000 (00:18 +0200)]
fix test

The improvements to the base64 functionality allows now to loosen
strictness. Strict mode still can be activated later, if there are
any issues.

8 years agoMerge branch 'PHP-7.1'
Anatol Belski [Wed, 17 Aug 2016 22:17:13 +0000 (00:17 +0200)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  sync NEWS

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Wed, 17 Aug 2016 22:16:50 +0000 (00:16 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  sync NEWS

8 years agosync NEWS
Anatol Belski [Wed, 17 Aug 2016 22:15:54 +0000 (00:15 +0200)]
sync NEWS

8 years agoMake this inline like the many other variants we got of this function (win32/time...
Kalle Sommer Nielsen [Wed, 17 Aug 2016 21:52:44 +0000 (23:52 +0200)]
Make this inline like the many other variants we got of this function (win32/time.c, Zend/zend_virtual_cwd.c, ...)

8 years agoMerge branch 'PHP-7.1'
Christoph M. Becker [Wed, 17 Aug 2016 20:14:33 +0000 (22:14 +0200)]
Merge branch 'PHP-7.1'

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Christoph M. Becker [Wed, 17 Aug 2016 20:13:57 +0000 (22:13 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Wed, 17 Aug 2016 20:12:01 +0000 (22:12 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoSkip tests that are supposed to fail due to bugs in old external libgd
Christoph M. Becker [Wed, 17 Aug 2016 12:04:08 +0000 (14:04 +0200)]
Skip tests that are supposed to fail due to bugs in old external libgd

8 years agoMerge branch 'PHP-7.1'
Kalle Sommer Nielsen [Wed, 17 Aug 2016 19:09:46 +0000 (21:09 +0200)]
Merge branch 'PHP-7.1'

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Kalle Sommer Nielsen [Wed, 17 Aug 2016 19:01:05 +0000 (21:01 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Further fix bug #72627 from Stas

8 years agoFurther fix bug #72627 from Stas
Kalle Sommer Nielsen [Wed, 17 Aug 2016 18:51:50 +0000 (20:51 +0200)]
Further fix bug #72627 from Stas

There is another code path with almost the same identical code that also leaks memory in case of invalid reads, fix this as well

8 years agoFixed master build, decls first please!
Kalle Sommer Nielsen [Wed, 17 Aug 2016 18:33:07 +0000 (20:33 +0200)]
Fixed master build, decls first please!

8 years agoMerge branch 'PHP-7.1' of git.php.net:php-src into PHP-7.1
Kalle Sommer Nielsen [Wed, 17 Aug 2016 18:27:46 +0000 (20:27 +0200)]
Merge branch 'PHP-7.1' of git.php.net:php-src into PHP-7.1

8 years agoFixed 7.1 build, decls first please!
Kalle Sommer Nielsen [Wed, 17 Aug 2016 18:26:32 +0000 (20:26 +0200)]
Fixed 7.1 build, decls first please!

8 years agoMerge branch 'PHP-7.1'
Christoph M. Becker [Wed, 17 Aug 2016 17:10:13 +0000 (19:10 +0200)]
Merge branch 'PHP-7.1'

8 years agoMake this test also a little more resilient
Christoph M. Becker [Wed, 17 Aug 2016 17:09:31 +0000 (19:09 +0200)]
Make this test also a little more resilient

See <http://git.php.net/?p=php-src.git;a=commit;h=a3159d29bb24d5c946c14b7aa33e96bebcd56e59>.

8 years agoMerge branch 'PHP-7.1'
Christoph M. Becker [Wed, 17 Aug 2016 16:37:55 +0000 (18:37 +0200)]
Merge branch 'PHP-7.1'

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Christoph M. Becker [Wed, 17 Aug 2016 16:25:45 +0000 (18:25 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Wed, 17 Aug 2016 16:13:41 +0000 (18:13 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoMake tests a little more resilient
Christoph M. Becker [Wed, 17 Aug 2016 15:59:33 +0000 (17:59 +0200)]
Make tests a little more resilient

PNG allows identical images to be stored differently what makes nearly all
tests checking the MD5 hash of the PNG representation fail with external
libgd. For now, we use the GD format instead, which doesn't allow for such
differences.

Of course, this md5() checking should be replaced by a image diffing feature
in the long run.

8 years agoSeems like I did a bad merge earlier, this should make PHP-7.0 sync with 7.1/master...
Kalle Sommer Nielsen [Wed, 17 Aug 2016 14:34:22 +0000 (16:34 +0200)]
Seems like I did a bad merge earlier, this should make PHP-7.0 sync with 7.1/master properly now

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Kalle Sommer Nielsen [Wed, 17 Aug 2016 12:15:09 +0000 (14:15 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fix build as done in master in commit 040331c36462eac94308bbef3200ee11389ca444
  Fixed C89 build

8 years agoFix build as done in master in commit 040331c36462eac94308bbef3200ee11389ca444
Kalle Sommer Nielsen [Wed, 17 Aug 2016 12:10:24 +0000 (14:10 +0200)]
Fix build as done in master in commit 040331c36462eac94308bbef3200ee11389ca444

The reason why we cannot use round() here, is that it does not come with the standard C library on Windows, I don't think this affects other systems.

At the same time, also expose _php_math_round()

8 years agoFixed C89 build
Kalle Sommer Nielsen [Wed, 17 Aug 2016 11:43:50 +0000 (13:43 +0200)]
Fixed C89 build

8 years agoMerge branch 'PHP-7.1'
Anatol Belski [Wed, 17 Aug 2016 11:24:07 +0000 (13:24 +0200)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  fix char * vs zend_string *

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Wed, 17 Aug 2016 11:23:31 +0000 (13:23 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  fix char * vs zend_string *