]> granicus.if.org Git - php/log
php
7 years agoFixed bug #75287 (Builtin webserver crash after chdir in a shutdown function)
Xinchen Hui [Sun, 15 Oct 2017 02:28:28 +0000 (10:28 +0800)]
Fixed bug #75287 (Builtin webserver crash after chdir in a shutdown function)

7 years agoFixed bug #75368 (mmap/munmap trashing on unlucky allocations)
Dmitry Stogov [Fri, 13 Oct 2017 10:56:06 +0000 (13:56 +0300)]
Fixed bug #75368 (mmap/munmap trashing on unlucky allocations)

7 years agoFixed bug #75363 (openssl_x509_parse leaks memory)
Bob Weinand [Thu, 12 Oct 2017 10:30:20 +0000 (12:30 +0200)]
Fixed bug #75363 (openssl_x509_parse leaks memory)

7 years agoIt looks like i should've taken joint response on ext/fileinfo long ago
Anatol Belski [Wed, 11 Oct 2017 20:21:34 +0000 (22:21 +0200)]
It looks like i should've taken joint response on ext/fileinfo long ago

7 years agoPut php-sdk-2.0.12beta1 for AppVeyor
Anatol Belski [Wed, 11 Oct 2017 18:27:27 +0000 (20:27 +0200)]
Put php-sdk-2.0.12beta1 for AppVeyor

Quite some tool upgrades there, especially re2c 1.0.2

7 years agoMerge branch 'pull-request/2798' into PHP-7.0
Christoph M. Becker [Wed, 11 Oct 2017 15:05:53 +0000 (17:05 +0200)]
Merge branch 'pull-request/2798' into PHP-7.0

* pull-request/2798:
  Fix Bug #75299 Wrong reflection on inflate_init and inflate_add

7 years agoMerge branch 'pull-request/2799' into PHP-7.0
Christoph M. Becker [Wed, 11 Oct 2017 12:42:02 +0000 (14:42 +0200)]
Merge branch 'pull-request/2799' into PHP-7.0

* pull-request/2799:
  Use PHP_VERSION for exif

7 years ago[ci skip] Add NEWS entry for bug #75349
Christoph M. Becker [Tue, 10 Oct 2017 11:54:52 +0000 (13:54 +0200)]
[ci skip] Add NEWS entry for bug #75349

7 years agoFix re2c version detection
Anatol Belski [Tue, 10 Oct 2017 08:52:52 +0000 (10:52 +0200)]
Fix re2c version detection

7 years agoMove dev to 7.0.26
Anatol Belski [Tue, 10 Oct 2017 06:26:04 +0000 (08:26 +0200)]
Move dev to 7.0.26

7 years agoFix array access on undeclared properties in DateInterval
Anatol Belski [Mon, 9 Oct 2017 13:35:38 +0000 (15:35 +0200)]
Fix array access on undeclared properties in DateInterval

7 years agoBugfix #74556 stream_socket_get_name() returns null bytes on MacOS
Sara Golemon [Sat, 7 Oct 2017 14:08:34 +0000 (10:08 -0400)]
Bugfix #74556 stream_socket_get_name() returns null bytes on MacOS

7 years agoFixed bug #75318 (The parameter of UConverter::getAliases() is not optional)
Christoph M. Becker [Fri, 6 Oct 2017 14:45:07 +0000 (16:45 +0200)]
Fixed bug #75318 (The parameter of UConverter::getAliases() is not optional)

Of course, reflection has to know that as well.

7 years agoFixed bug #75311
Mathieu CARBONNEAUX [Wed, 4 Oct 2017 23:34:20 +0000 (01:34 +0200)]
Fixed bug #75311

7 years agoUse PHP_VERSION for exif
Peter Kokot [Sun, 1 Oct 2017 16:27:11 +0000 (18:27 +0200)]
Use PHP_VERSION for exif

7 years agoBumped ext/oci8 version
Dmitry Stogov [Wed, 4 Oct 2017 06:56:25 +0000 (09:56 +0300)]
Bumped ext/oci8 version

7 years agoMerge branch 'oci8_fix' into PHP-7.0
Dmitry Stogov [Wed, 4 Oct 2017 06:49:40 +0000 (09:49 +0300)]
Merge branch 'oci8_fix' into PHP-7.0

* oci8_fix:
  Use dereferenced value
  Fixed compilation errors
  Restored code for BOOL variables
  Fixed few ext/oci8 bugs

7 years agoUse dereferenced value
Dmitry Stogov [Tue, 3 Oct 2017 07:49:56 +0000 (10:49 +0300)]
Use dereferenced value

7 years agoTypo in status.html
Viktor Szépe [Fri, 29 Sep 2017 12:36:23 +0000 (14:36 +0200)]
Typo in status.html

feet needs -> fit needs

7 years agoFix bug #74905
Peter Kokot [Thu, 28 Sep 2017 01:13:18 +0000 (03:13 +0200)]
Fix bug #74905

7 years agoRemove ident gitattribute for ext/zip/php_zip.c
Peter Kokot [Wed, 27 Sep 2017 23:17:04 +0000 (01:17 +0200)]
Remove ident gitattribute for ext/zip/php_zip.c

7 years agoFixed compilation errors
Dmitry Stogov [Tue, 3 Oct 2017 06:08:28 +0000 (09:08 +0300)]
Fixed compilation errors

7 years agoRestored code for BOOL variables
Dmitry Stogov [Mon, 2 Oct 2017 14:04:26 +0000 (17:04 +0300)]
Restored code for BOOL variables

7 years agoFix Bug #75299 Wrong reflection on inflate_init and inflate_add
Fabien Villepinte [Sun, 1 Oct 2017 09:27:16 +0000 (11:27 +0200)]
Fix Bug #75299 Wrong reflection on inflate_init and inflate_add

7 years agoFix bug #75290
Andrea Faulds [Fri, 29 Sep 2017 20:38:08 +0000 (21:38 +0100)]
Fix bug #75290

7 years agoApply upstream patch for CVE-2016-1283
Anatol Belski [Thu, 28 Sep 2017 13:40:49 +0000 (15:40 +0200)]
Apply upstream patch for CVE-2016-1283

Fix bug #75207, see also
https://bugzilla.redhat.com/show_bug.cgi?id=1295385
https://vcs.pcre.org/pcre?view=revision&revision=1636

7 years agoFix CGI m4 config message when CGI is disabled
Peter Kokot [Sun, 24 Sep 2017 19:09:09 +0000 (21:09 +0200)]
Fix CGI m4 config message when CGI is disabled

7 years agoFix bug #75248 and #75251
Peter Kokot [Fri, 22 Sep 2017 20:41:51 +0000 (22:41 +0200)]
Fix bug #75248 and #75251

7 years agoFixed #75220 - Segfault when calling is_callable on parent
Nester [Mon, 18 Sep 2017 08:19:47 +0000 (08:19 +0000)]
Fixed #75220 - Segfault when calling is_callable on parent

7 years agoRemove some old sapi/apache_hooks and sapi/apache leftovers
Peter Kokot [Sun, 24 Sep 2017 22:23:59 +0000 (00:23 +0200)]
Remove some old sapi/apache_hooks and sapi/apache leftovers

7 years agoFixed bug #75241 (Null pointer dereference in zend_mm_alloc_small()).
Xinchen Hui [Sun, 24 Sep 2017 09:24:11 +0000 (17:24 +0800)]
Fixed bug #75241 (Null pointer dereference in zend_mm_alloc_small()).

7 years agoCompiler warning
Xinchen Hui [Sun, 24 Sep 2017 09:19:05 +0000 (17:19 +0800)]
Compiler warning

7 years agoFixed bug #75252
Nikita Popov [Sun, 24 Sep 2017 06:53:27 +0000 (08:53 +0200)]
Fixed bug #75252

7 years agoFix thread safety
Anatol Belski [Thu, 21 Sep 2017 08:32:09 +0000 (10:32 +0200)]
Fix thread safety

7 years agoFix bug #75236
Andrea Faulds [Wed, 20 Sep 2017 23:02:52 +0000 (00:02 +0100)]
Fix bug #75236

7 years agoFixed few ext/oci8 bugs
Dmitry Stogov [Wed, 20 Sep 2017 13:46:04 +0000 (16:46 +0300)]
Fixed few ext/oci8 bugs

7 years agoFixed bug #73629 (SplDoublyLinkedList::setIteratorMode masks intern flags)
Christoph M. Becker [Wed, 20 Sep 2017 13:36:50 +0000 (15:36 +0200)]
Fixed bug #73629 (SplDoublyLinkedList::setIteratorMode masks intern flags)

We must not overwrite the SPL_DLLIST_IT_FIX flag when changing the
iterator mode.

7 years agoFix the version check causing the test fail
Anatol Belski [Mon, 18 Sep 2017 10:04:31 +0000 (12:04 +0200)]
Fix the version check causing the test fail

7 years agoUpdate lib_versions.txt
Anatol Belski [Mon, 18 Sep 2017 07:34:58 +0000 (09:34 +0200)]
Update lib_versions.txt

7 years agoMove to next binary SDK version for AppVeyor
Anatol Belski [Fri, 15 Sep 2017 21:04:15 +0000 (23:04 +0200)]
Move to next binary SDK version for AppVeyor

7 years agoProperly update string type flags
Dmitry Stogov [Tue, 12 Sep 2017 22:45:57 +0000 (01:45 +0300)]
Properly update string type flags

7 years agoRevert "Properly update string type flags"
Dmitry Stogov [Tue, 12 Sep 2017 21:14:39 +0000 (00:14 +0300)]
Revert "Properly update string type flags"

This reverts commit 99b1a62d559f993ed02c50e6a4298c4bd2dcd33c.

7 years agoFixed test
Dmitry Stogov [Tue, 12 Sep 2017 20:47:22 +0000 (23:47 +0300)]
Fixed test

7 years agoProperly update string type flags
Dmitry Stogov [Tue, 12 Sep 2017 20:42:51 +0000 (23:42 +0300)]
Properly update string type flags

7 years agoFix test failure on 32-bit
Anatol Belski [Tue, 12 Sep 2017 16:17:28 +0000 (18:17 +0200)]
Fix test failure on 32-bit

7 years agodrop symbol definition, and not defined anywhere
Remi Collet [Tue, 12 Sep 2017 11:03:18 +0000 (13:03 +0200)]
drop symbol definition, and not defined anywhere

7 years ago[ci skip] update NEWS
Anatol Belski [Tue, 12 Sep 2017 10:17:12 +0000 (12:17 +0200)]
[ci skip] update NEWS

7 years agoFixed bug #75193 segfault in collator_convert_object_to_string
Remi Collet [Tue, 12 Sep 2017 07:16:24 +0000 (09:16 +0200)]
Fixed bug #75193 segfault in collator_convert_object_to_string

7 years agoMove dev to 7.0.25
Anatol Belski [Tue, 12 Sep 2017 07:02:01 +0000 (09:02 +0200)]
Move dev to 7.0.25

7 years ago[ci skip] Fix news entry format
Anatol Belski [Tue, 12 Sep 2017 06:35:10 +0000 (08:35 +0200)]
[ci skip] Fix news entry format

7 years agofix bug #75173 incorrect behavior of AppendIterator::append in foreach loop
jhdxr [Sun, 10 Sep 2017 18:11:58 +0000 (02:11 +0800)]
fix bug #75173 incorrect behavior of AppendIterator::append in foreach loop

7 years agoFixed bug #46781 (BC math handles minus zero incorrectly)
Christoph M. Becker [Mon, 11 Sep 2017 21:44:23 +0000 (23:44 +0200)]
Fixed bug #46781 (BC math handles minus zero incorrectly)

Actually, there is no negative zero at all.  We obey Postel's law, and
still accept negative zeroes, but we store them as positive zeroes
after the conversion from string, i.e. we normalize before further
processing.

7 years agoFork test to keep up with libxsl >= 1.1.30
Anatol Belski [Mon, 11 Sep 2017 16:14:51 +0000 (18:14 +0200)]
Fork test to keep up with libxsl >= 1.1.30

The behavior of date parsing has changed and is reflected in the
changelog. Invalid dates are not accepted, in particular dates with a
negative year, as in this test.

7 years agoAdd symbol to libxml exports
Anatol Belski [Mon, 11 Sep 2017 15:35:25 +0000 (17:35 +0200)]
Add symbol to libxml exports

7 years agoFix test compat with libxml2 2.9.5
Anatol Belski [Mon, 11 Sep 2017 14:12:04 +0000 (16:12 +0200)]
Fix test compat with libxml2 2.9.5

One warning disappeared, but the flow is still valid.

7 years agoFix test compat with libxml2 2.9.5
Anatol Belski [Mon, 11 Sep 2017 12:32:54 +0000 (14:32 +0200)]
Fix test compat with libxml2 2.9.5

From 2.9.5 on libxml explcitly initializes the keepBlanks flag.

7 years agoFix test compatibility with libxml2 2.9.5
Anatol Belski [Mon, 11 Sep 2017 10:11:55 +0000 (12:11 +0200)]
Fix test compatibility with libxml2 2.9.5

7 years agoFixed bug #73730 (textdomain(null) throws in strict mode)
Christoph M. Becker [Sun, 10 Sep 2017 16:39:29 +0000 (18:39 +0200)]
Fixed bug #73730 (textdomain(null) throws in strict mode)

The $text_domain parameter may be NULL, which we have to cater to
explicitly with regard to strict_types.

7 years agoFix bug75178.phpt on Windows
Christoph M. Becker [Sat, 9 Sep 2017 14:41:38 +0000 (16:41 +0200)]
Fix bug75178.phpt on Windows

bug75178.phpt fails on Windows, because the stderr output is not
interspersed with stdout output there, but rather is appended to the
end. The fix is analogous to bug72093.phpt.

7 years agoFixed bug #75178 (bcpowmod() misbehaves for non-integer base or modulus)
Christoph M. Becker [Sat, 9 Sep 2017 11:18:26 +0000 (13:18 +0200)]
Fixed bug #75178 (bcpowmod() misbehaves for non-integer base or modulus)

Since `bcpowmod()` does not support non-integral operands, we have to
truncate these in addition to emitting a respective warning. We also
have to work with the truncated values in the following.

We recognize that the division by one to enforce the truncation is
actually overkill, but we stick with it for now, and shall tackle the
issue for PHP 7.3.

7 years agoAdd BC define for users of the typoed zend_symbtable_add_new
Sara Golemon [Thu, 7 Sep 2017 21:35:54 +0000 (17:35 -0400)]
Add BC define for users of the typoed zend_symbtable_add_new

7 years agoFix typo in zend_symtable_add_new() API name
Sara Golemon [Thu, 7 Sep 2017 20:05:20 +0000 (16:05 -0400)]
Fix typo in zend_symtable_add_new() API name

7 years agoFixed bug #54598 (bcpowmod() may return 1 if modulus is 1)
Christoph M. Becker [Wed, 6 Sep 2017 22:30:05 +0000 (00:30 +0200)]
Fixed bug #54598 (bcpowmod() may return 1 if modulus is 1)

`x mod 1` is always zero; we have to take the scale into account,
though.

7 years agoFixed bug #44995 (bcpowmod() fails if scale != 0)
Christoph M. Becker [Wed, 6 Sep 2017 21:30:53 +0000 (23:30 +0200)]
Fixed bug #44995 (bcpowmod() fails if scale != 0)

`bc_divmod()` is supposed to do integer division, so we must not apply
a scale factor here.

7 years agoAdd missing null termination
Nikita Popov [Tue, 5 Sep 2017 16:13:50 +0000 (18:13 +0200)]
Add missing null termination

7 years agoFixed bug #70470
Bouke van der Bijl [Mon, 4 Sep 2017 14:28:29 +0000 (16:28 +0200)]
Fixed bug #70470

7 years agoFix command
Anatol Belski [Sat, 2 Sep 2017 14:56:52 +0000 (16:56 +0200)]
Fix command

7 years agoFixed bug #75139 (libgd/gd_interpolation.c:1786: suspicious if ?)
Christoph M. Becker [Fri, 1 Sep 2017 22:04:02 +0000 (00:04 +0200)]
Fixed bug #75139 (libgd/gd_interpolation.c:1786: suspicious if ?)

We back-port https://github.com/libgd/libgd/commit/dd48286 even though
we cannot come up with a regression test, because the erroneous
condition appears to be impossible to trigger.

We also parenthesize the inner ternary operation to avoid confusion.

7 years agoMake for exclusion per regex
Anatol Belski [Thu, 31 Aug 2017 21:56:42 +0000 (23:56 +0200)]
Make for exclusion per regex

7 years agoExtend ignore list for DLLs to not to look after
Anatol Belski [Thu, 31 Aug 2017 18:48:33 +0000 (20:48 +0200)]
Extend ignore list for DLLs to not to look after

fix typo

7 years agoFix `nmake install` fails when there are no shared extensions
Dylan K. Taylor [Thu, 31 Aug 2017 14:04:45 +0000 (15:04 +0100)]
Fix `nmake install` fails when there are no shared extensions

check for existence instead of muting everything

check for exe existence before trying to copy

7 years agoCopy dependencies of the core DLL in `nmake snap` for statically-compiled extensions...
Dylan K. Taylor [Thu, 31 Aug 2017 14:05:13 +0000 (15:05 +0100)]
Copy dependencies of the core DLL in `nmake snap` for statically-compiled extensions when packaging builds

7 years agomove AC_DEFINE in the right position (in bundled lib conditon)
Remi Collet [Thu, 31 Aug 2017 05:55:45 +0000 (07:55 +0200)]
move AC_DEFINE in the right position (in bundled lib conditon)

7 years agoMove to next bin SDK version for AppVeyor
Anatol Belski [Mon, 28 Aug 2017 11:12:51 +0000 (13:12 +0200)]
Move to next bin SDK version for AppVeyor

7 years agoFixed bug #75124 (gdImageGrayScale() may produce colors)
Christoph M. Becker [Sun, 27 Aug 2017 11:53:39 +0000 (13:53 +0200)]
Fixed bug #75124 (gdImageGrayScale() may produce colors)

We have to make sure to avoid alpha-blending issues by explicitly
switching to `gdEffectReplace` and to restore the old value afterwards.

This is a port of <https://github.com/libgd/libgd/commit/a7a7ece>.

7 years agoFixed bug #75090
Thomas Punt [Wed, 23 Aug 2017 22:35:18 +0000 (23:35 +0100)]
Fixed bug #75090

7 years agoupdate libs versions
Anatol Belski [Fri, 25 Aug 2017 09:28:12 +0000 (11:28 +0200)]
update libs versions

7 years agoFrom documentation, only the sign of returned value is relevant
Remi Collet [Thu, 24 Aug 2017 08:27:38 +0000 (10:27 +0200)]
From documentation, only the sign of returned value is relevant

With recent glibc, memcmp sometime return a negative value instead of -1

7 years agoMerge branch 'pull-request/2534' into PHP-7.0
Tianfang Yang [Tue, 22 Aug 2017 05:10:58 +0000 (01:10 -0400)]
Merge branch 'pull-request/2534' into PHP-7.0

* pull-request/2534:
  Fixed bug #74631 (PDO_PCO with PHP-FPM: OCI environment initialized before PHP-FPM sets it up)

7 years agoFixed bug #74631 (PDO_PCO with PHP-FPM: OCI environment initialized before PHP-FPM...
Ingmar Runge [Mon, 22 May 2017 14:21:59 +0000 (16:21 +0200)]
Fixed bug #74631 (PDO_PCO with PHP-FPM: OCI environment initialized before PHP-FPM sets it up)

7 years agoFixed bug #75097 (gethostname fails if your host name is 64 chars long)
Andrea Faulds [Sat, 19 Aug 2017 19:31:54 +0000 (20:31 +0100)]
Fixed bug #75097 (gethostname fails if your host name is 64 chars long)

PHP contained two different off-by-one errors, which are fixed here. First,
it created a buffer of size HOST_NAME_MAX, not adding space for a null
terminator. Second, it subtracted 1 from the size of that buffer when passing
its size to gethostname(), despite gethostname() expecting it to be a buffer
size including space for a terminating null byte, not a string length.

7 years ago[ci skip] update NEWS
Anatol Belski [Sat, 19 Aug 2017 00:40:17 +0000 (02:40 +0200)]
[ci skip] update NEWS

7 years agoFix issues with phpt and EXTENSION on windows (BUG 75042)
John Boehr [Sun, 6 Aug 2017 22:04:36 +0000 (15:04 -0700)]
Fix issues with phpt and EXTENSION on windows (BUG 75042)

* Commands are not properly escaped for windows
* Specifying "-n" to check loaded modules causes "Module already loaded"
warning
* Extensions to be loaded need the "php_" prefix on Windows

Bug: https://bugs.php.net/bug.php?id=75042

Add back -n flag to fetch loaded extensions in run-tests.php

Add test for phpt EXTENSIONS directive

Add a second test for bug 75042

Add test to test loading of nonexistent shared module

with the EXTENSIONS phpt block

Pass ini settings when checking loaded extensions

Fix skipifs

7 years agoFix .pgd name for ts build
Anatol Belski [Fri, 18 Aug 2017 22:31:04 +0000 (00:31 +0200)]
Fix .pgd name for ts build

7 years agoNEWS
Remi Collet [Fri, 18 Aug 2017 12:52:11 +0000 (14:52 +0200)]
NEWS

7 years agoFixed bug #75093 OpenSSL support not detected
Remi Collet [Fri, 18 Aug 2017 12:51:44 +0000 (14:51 +0200)]
Fixed bug #75093 OpenSSL support not detected

7 years agoFix phpize exit status
Anatol Belski [Fri, 18 Aug 2017 09:54:56 +0000 (11:54 +0200)]
Fix phpize exit status

Configure and others are generated, not copied. Seems there's yet much
more to do wrt exit status catching.

7 years agoAdd dump env target
Anatol Belski [Fri, 18 Aug 2017 09:08:27 +0000 (11:08 +0200)]
Add dump env target

7 years agoRevert "Upgrade timelib to 2017.05beta7"
Derick Rethans [Wed, 16 Aug 2017 14:19:18 +0000 (15:19 +0100)]
Revert "Upgrade timelib to 2017.05beta7"

This reverts commit bdd56f31078bf1f34341943603cf6aaa72e0db5c.

7 years agoRevert "Remove removed header files from configuration files."
Derick Rethans [Wed, 16 Aug 2017 14:19:11 +0000 (15:19 +0100)]
Revert "Remove removed header files from configuration files."

This reverts commit 3df753c6ca3ebc95dc0e837b2d4dc20753b5aea2.

7 years agoFixed stupid test
Derick Rethans [Wed, 16 Aug 2017 10:14:41 +0000 (11:14 +0100)]
Fixed stupid test

7 years agoAdded timelib version to phpinfo()
Derick Rethans [Wed, 16 Aug 2017 08:51:21 +0000 (09:51 +0100)]
Added timelib version to phpinfo()

7 years agocleanup
Remi Collet [Wed, 16 Aug 2017 05:46:07 +0000 (07:46 +0200)]
cleanup

7 years agoRemove removed header files from configuration files.
Derick Rethans [Tue, 15 Aug 2017 19:22:41 +0000 (20:22 +0100)]
Remove removed header files from configuration files.

7 years agoUpgrade timelib to 2017.05beta7
Derick Rethans [Tue, 15 Aug 2017 13:09:09 +0000 (14:09 +0100)]
Upgrade timelib to 2017.05beta7

7 years agomove dev to 7.0.24
Anatol Belski [Tue, 15 Aug 2017 07:33:30 +0000 (09:33 +0200)]
move dev to 7.0.24

7 years agoFixed bug #75075 (unpack with X* causes infinity loop)
Xinchen Hui [Tue, 15 Aug 2017 04:34:13 +0000 (12:34 +0800)]
Fixed bug #75075 (unpack with X* causes infinity loop)

7 years agoMerge branch 'syncoci8' into PHP-7.0
Tianfang Yang [Tue, 15 Aug 2017 01:16:34 +0000 (21:16 -0400)]
Merge branch 'syncoci8' into PHP-7.0

7 years agoPrepare for PECL release
Tianfang Yang [Tue, 15 Aug 2017 01:07:41 +0000 (21:07 -0400)]
Prepare for PECL release

7 years agoTest cleanup improvements, files might be locked in the test process
Anatol Belski [Mon, 14 Aug 2017 11:08:04 +0000 (13:08 +0200)]
Test cleanup improvements, files might be locked in the test process