]>
granicus.if.org Git - php/log
Stanislav Malyshev [Sun, 27 Nov 2016 23:38:22 +0000 (15:38 -0800)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
add NEWS
Stanislav Malyshev [Sun, 27 Nov 2016 23:38:09 +0000 (15:38 -0800)]
add NEWS
Stanislav Malyshev [Sun, 27 Nov 2016 23:36:29 +0000 (15:36 -0800)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
Fix #68447: grapheme_extract take an extra trailing character
Stanislav Malyshev [Sun, 27 Nov 2016 23:11:17 +0000 (15:11 -0800)]
Merge branch 'pull-request/1974' into PHP-5.6
* pull-request/1974:
Fix #68447: grapheme_extract take an extra trailing character
Stanislav Malyshev [Sun, 27 Nov 2016 22:53:27 +0000 (14:53 -0800)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
Fix #73549: Use after free when stream is passed to imagepng
Christoph M. Becker [Thu, 17 Nov 2016 12:44:30 +0000 (13:44 +0100)]
Fix #73549: Use after free when stream is passed to imagepng
If a stream is passed to imagepng() or other image output functions,
opposed to a filename, we must not close this stream.
Matteo Beccati [Sun, 27 Nov 2016 09:20:38 +0000 (10:20 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
Fix occasionaly failing test
Matteo Beccati [Sun, 27 Nov 2016 09:20:13 +0000 (10:20 +0100)]
Fix occasionaly failing test
Matteo Beccati [Sun, 27 Nov 2016 09:08:04 +0000 (10:08 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
Added missing array key to $JUNIT
Matteo Beccati [Sun, 27 Nov 2016 09:07:05 +0000 (10:07 +0100)]
Added missing array key to $JUNIT
Stanislav Malyshev [Sat, 26 Nov 2016 23:36:57 +0000 (15:36 -0800)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
acinclude.m4: fix krb5-config detection and usage in PHP_SETUP_KERBEROS.
Add more mbfl string size checks (bug #73505)
Michael Orlitzky [Fri, 30 Sep 2016 23:47:20 +0000 (19:47 -0400)]
acinclude.m4: fix krb5-config detection and usage in PHP_SETUP_KERBEROS.
When building with kerberos support (--with-kerberos), a few libraries
and flags need to be added to various parts of the build system. The
most reliable way to get those flags is through the krb5-config
program that ships with both major implementations of kerberos. The
PHP_SETUP_KERBEROS macro in acinclude.m4 attempts to detect
krb5-config, and use it.
However, there's a bug in that macro. The --with-kerberos parameter
accepts a directory where the kerberos libraries can be found. When a
directory is given, it is stored in the PHP_KERBEROS variable. The
following test,
if test "$PHP_KERBEROS" = "yes" && test -x "$KRB5_CONFIG"; then
thus fails whenever a directory is passed to --with-kerberos, since it
compares a directory name against the string "yes". This causes
krb5-config to go unused, and some unreliable fallback logic is
attempted instead. One consequence of this is that the Heimdal
kerberos implementation cannot be substituted for the MIT one, at
least when a directory is passed to --with-kerberos.
This commit reverses the logic and checks for "$PHP_KERBEROS" != "no".
To confirm that this fixes the issue, one can inspect the "-l" library
flags that get appended to the command-line. On a machine with Heimdal
and the unmodified acinclude.m4, running
./configure --with-openssl --with-kerberos=/usr
will log (for example) to config.log,
configure:18082: checking for krb5-config
configure:18101: found /usr/bin/krb5-config
configure:18114: result: /usr/bin/krb5-config
configure:18450: checking for RAND_egd
configure:18450: cc ... conftest.c ... -lgssapi_krb5 -lkrb5 ...
which are the library names for the MIT implementation. After patching
acinclude.m4 to negate the logic, the same command on the same machine
outputs (to config.log):
configure:18450: cc ... conftest.c -lgssapi -lheimntlm ...
These are the correct library names for the Heimdal implementation.
PHP-Bug: 73214
Stanislav Malyshev [Sat, 26 Nov 2016 22:44:58 +0000 (14:44 -0800)]
Add more mbfl string size checks (bug #73505)
Stanislav Malyshev [Sat, 26 Nov 2016 22:48:40 +0000 (14:48 -0800)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
Add more mbfl string size checks (bug #73505)
Stanislav Malyshev [Sat, 26 Nov 2016 22:44:58 +0000 (14:44 -0800)]
Add more mbfl string size checks (bug #73505)
Christoph M. Becker [Sat, 26 Nov 2016 14:34:27 +0000 (15:34 +0100)]
Fix #73612: preg_*() may leak memory
We have to make sure that collectible zvals end up in the GC root
buffer, to avoid memory leaks.
Stanislav Malyshev [Fri, 25 Nov 2016 23:30:20 +0000 (15:30 -0800)]
Fix more size_t/int implicit conversions
Now the conversions are explicit and do checks. Not sure it's
the best way but at least we can see them now in the open.
Stanislav Malyshev [Fri, 25 Nov 2016 21:42:35 +0000 (13:42 -0800)]
Fix int/size_t confusion in isValidPharFilename (bug #73580)
Christoph M. Becker [Fri, 25 Nov 2016 22:16:18 +0000 (23:16 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Fri, 25 Nov 2016 22:02:34 +0000 (23:02 +0100)]
Fix #73582: Failing ext/gd/tests/imagettftext_charmap_order.phpt
This test is not supposed to work with JIS-mapped Japanese font support
enabled.
Anatol Belski [Thu, 24 Nov 2016 18:25:47 +0000 (19:25 +0100)]
add test for bug #57547
Derick Rethans [Thu, 24 Nov 2016 10:40:14 +0000 (10:40 +0000)]
Updated to version 2016.10 (2016j)
Derick Rethans [Thu, 24 Nov 2016 10:40:13 +0000 (10:40 +0000)]
Empty merge
Derick Rethans [Thu, 24 Nov 2016 10:40:11 +0000 (10:40 +0000)]
Updated to version 2016.10 (2016j)
Xinchen Hui [Thu, 24 Nov 2016 04:02:02 +0000 (12:02 +0800)]
Fixed bug #73585 (Logging of "Internal Zend error - Missing class information" missing class name)
Actually, I doubt how thing bug could be triggered
Ferenc Kovacs [Thu, 24 Nov 2016 00:57:42 +0000 (01:57 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0
Ferenc Kovacs [Thu, 24 Nov 2016 00:54:23 +0000 (01:54 +0100)]
5.6.30 will be next
Nikita Popov [Tue, 22 Nov 2016 18:25:31 +0000 (19:25 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0
Nikita Popov [Fri, 18 Nov 2016 15:41:13 +0000 (16:41 +0100)]
Make php_url_parse_ex() respect length argument
This should fix all out-of-bounds reads that could previously
occur if the string passed to php_url_parse_ex() is not NUL
terminated.
Nikita Popov [Fri, 18 Nov 2016 16:00:56 +0000 (17:00 +0100)]
Cleanup parse_url() query/fragment handling
The query/fragment handling was pretty convoluted, with many parts
being duplicated. Simplify by checking for fragment, then for query,
then for path.
Nikita Popov [Thu, 17 Nov 2016 22:18:05 +0000 (23:18 +0100)]
Cleanup parse_url() gotos
Simplify some unnecessarily complicated code. In particular the
length updates are unnecessary (length is only used at the very
start) and we're goto'ing around a bit too much.
Anatol Belski [Tue, 22 Nov 2016 11:42:57 +0000 (12:42 +0100)]
update libs_versions.txt
Anatol Belski [Tue, 22 Nov 2016 11:42:20 +0000 (12:42 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
update libs versions.txt
Anatol Belski [Tue, 22 Nov 2016 11:36:51 +0000 (12:36 +0100)]
update libs versions.txt
Anatol Belski [Tue, 22 Nov 2016 10:49:09 +0000 (11:49 +0100)]
move dev to next
Dmitry Stogov [Tue, 22 Nov 2016 10:28:27 +0000 (13:28 +0300)]
Fixed use after free
Dmitry Stogov [Tue, 22 Nov 2016 08:22:10 +0000 (11:22 +0300)]
Fixed memory leak (Bob)
Anatol Belski [Tue, 22 Nov 2016 01:52:23 +0000 (02:52 +0100)]
Revert "fix invalid read, follow up on
97b65cc9 "
This reverts commit
b52fa5882a276c9397d108cd690721a006acd827 .
Anatol Belski [Tue, 22 Nov 2016 01:28:45 +0000 (02:28 +0100)]
fix invalid read, follow up on
97b65cc9
Anatol Belski [Mon, 21 Nov 2016 23:59:40 +0000 (00:59 +0100)]
update NEWS
Anatol Belski [Mon, 21 Nov 2016 23:59:07 +0000 (00:59 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
update NEWS
Anatol Belski [Mon, 21 Nov 2016 23:57:18 +0000 (00:57 +0100)]
update NEWS
Anatol Belski [Mon, 21 Nov 2016 23:46:03 +0000 (00:46 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
Fix bug #73498
Add a test for bug 73498
Craig Duncan [Sun, 20 Nov 2016 20:48:21 +0000 (20:48 +0000)]
Fix bug #73498
Postgres uses the DELIMITER keyword since 7.3
And WITH is no longer required/used
Craig Duncan [Mon, 21 Nov 2016 19:49:18 +0000 (19:49 +0000)]
Add a test for bug 73498
Anatol Belski [Mon, 21 Nov 2016 22:53:37 +0000 (23:53 +0100)]
remove TSRMLS_*
Anatol Belski [Mon, 21 Nov 2016 21:58:23 +0000 (22:58 +0100)]
update php.ini-* for bug #69090
Anatol Belski [Mon, 21 Nov 2016 21:56:46 +0000 (22:56 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
update php.ini-* according to changes for bug #69090
Anatol Belski [Mon, 21 Nov 2016 21:52:03 +0000 (22:52 +0100)]
update php.ini-* according to changes for bug #69090
Anatol Belski [Mon, 21 Nov 2016 18:59:30 +0000 (19:59 +0100)]
update NEWS
Anatol Belski [Mon, 21 Nov 2016 18:58:54 +0000 (19:58 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
update NEWS
Anatol Belski [Mon, 21 Nov 2016 18:56:09 +0000 (19:56 +0100)]
update NEWS
Anatol Belski [Mon, 21 Nov 2016 14:29:44 +0000 (15:29 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
add test for bug #73452
Backport
15ac4904 to 5.6
Anatol Belski [Mon, 21 Nov 2016 14:25:46 +0000 (15:25 +0100)]
add test for bug #73452
Anatol Belski [Mon, 21 Nov 2016 14:20:03 +0000 (15:20 +0100)]
Xinchen Hui [Mon, 21 Nov 2016 03:45:49 +0000 (11:45 +0800)]
Update NEWS
Tyson Andre [Sun, 20 Nov 2016 23:18:32 +0000 (15:18 -0800)]
Fix memory leak(null coalescing operator with Spl hash)
The SEPARATE_ARG_IF_REF macro increased the refcount of the object passed as a
key.
However, when the key did not exist in the ArrayAccess implementation,
the code returned early without trying to decrement the refcount.
Add a test of `??` succeeding+failing on a SplObjectStorage instance.
Jakub Zelenka [Sun, 20 Nov 2016 20:36:03 +0000 (20:36 +0000)]
Fix bug #73526 (php_json_encode depth issue)
Craig Duncan [Sun, 20 Nov 2016 17:41:14 +0000 (17:41 +0000)]
Fix bug #73538
Remove any previous default headers and replace with the specified
ones, as documented, and as is the case when a single header is
passed.
Bob Weinand [Sun, 20 Nov 2016 18:18:50 +0000 (19:18 +0100)]
Revert "Revert "Remove a few unused write warning""
This reverts commit
ff5a65d26b139142c5e967582c369ef65b79adf8 .
(With zend_ prefix now)
Nikita Popov [Sun, 20 Nov 2016 18:02:40 +0000 (19:02 +0100)]
Revert "Remove a few unused write warning (backport from master, oops)s"
This reverts commit
c65d24eaa3671e61db7c2a3f28daeaf7c74ac758 .
Bob Weinand [Sun, 20 Nov 2016 13:14:46 +0000 (14:14 +0100)]
Remove a few unused write warning (backport from master, oops)s
Xinchen Hui [Sun, 20 Nov 2016 07:44:27 +0000 (15:44 +0800)]
Fixed bug #73483 (Segmentation fault on pcre_replace_callback)
Joe Watkins [Sun, 20 Nov 2016 05:34:08 +0000 (05:34 +0000)]
Fix #73219 (fix acinclude when / is present)
Joe Watkins [Sun, 20 Nov 2016 05:24:14 +0000 (05:24 +0000)]
make it possible to show specific help pages without interactive session
Anatol Belski [Fri, 18 Nov 2016 21:10:41 +0000 (22:10 +0100)]
fix test portability
Anatol Belski [Fri, 18 Nov 2016 17:19:47 +0000 (18:19 +0100)]
don't fail miserably, when an unknown vc version is used
Nikita Popov [Fri, 18 Nov 2016 16:56:16 +0000 (17:56 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0
Mitch Hagstrand [Fri, 11 Nov 2016 23:40:30 +0000 (15:40 -0800)]
Fix the lchwon error test for Travis CI.
The E_WARNING message from the PHP function lchown is passed
from the system function lchown. The error message returned
from lchown can be filesystem dependent.
Christoph M. Becker [Fri, 18 Nov 2016 13:29:28 +0000 (14:29 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0
Dmitry Stogov [Fri, 18 Nov 2016 13:19:46 +0000 (16:19 +0300)]
Regenerated scanner
Dmitry Stogov [Fri, 18 Nov 2016 13:17:52 +0000 (16:17 +0300)]
Fixed memory leaks in parse_ini_file()
Christoph M. Becker [Fri, 18 Nov 2016 13:17:19 +0000 (14:17 +0100)]
Fix #64526: Add missing mysqlnd.* parameters to php.ini-*
Dmitry Stogov [Fri, 18 Nov 2016 10:19:30 +0000 (13:19 +0300)]
Disabled PHP call tracing by default (it makes significant overhead).
This may be enabled again using envirionment variable USE_ZEND_DTRACE=1.
Anatol Belski [Thu, 17 Nov 2016 22:43:32 +0000 (23:43 +0100)]
add vc15 to the list
Dmitry Stogov [Thu, 17 Nov 2016 12:58:38 +0000 (15:58 +0300)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
Fixed test
Updated NEWS
Improvement for bug73297
Simplify ext/standard/tests/http/bug73297.phpt
http_fopen_wrapper.c - bug#73297 Skip past "100 Continue" responses
Add failing test for bug#73297
Dmitry Stogov [Thu, 17 Nov 2016 12:57:40 +0000 (15:57 +0300)]
Fixed test
Dmitry Stogov [Thu, 17 Nov 2016 11:07:11 +0000 (14:07 +0300)]
Merge branch 'PHP-7.0' of git.php.net:php-src into PHP-7.0
* 'PHP-7.0' of git.php.net:php-src:
Updated NEWS
Improvement for bug73297
Simplify ext/standard/tests/http/bug73297.phpt
http_fopen_wrapper.c - bug#73297 Skip past "100 Continue" responses
Add failing test for bug#73297
Dmitry Stogov [Thu, 17 Nov 2016 11:05:22 +0000 (14:05 +0300)]
Fixed 64-bit build
Julien Pauli [Thu, 17 Nov 2016 10:48:32 +0000 (11:48 +0100)]
Updated NEWS
Julien Pauli [Thu, 17 Nov 2016 10:33:36 +0000 (11:33 +0100)]
Improvement for bug73297
Rowan Collins [Mon, 24 Oct 2016 18:01:17 +0000 (18:01 +0000)]
Simplify ext/standard/tests/http/bug73297.phpt
Rowan Collins [Sun, 23 Oct 2016 18:24:58 +0000 (18:24 +0000)]
http_fopen_wrapper.c - bug#73297 Skip past "100 Continue" responses
Rowan Collins [Tue, 11 Oct 2016 21:12:18 +0000 (21:12 +0000)]
Add failing test for bug#73297
Julien Pauli [Thu, 17 Nov 2016 10:37:13 +0000 (11:37 +0100)]
Updated NEWS
Julien Pauli [Thu, 17 Nov 2016 10:33:36 +0000 (11:33 +0100)]
Improvement for bug73297
Dmitry Stogov [Thu, 17 Nov 2016 10:33:05 +0000 (13:33 +0300)]
Prevent modification of immutable arrays (ext/mbstring/tests/bug26639.phpt failure with opcache.protect_memory=1)
Dmitry Stogov [Thu, 17 Nov 2016 10:17:34 +0000 (13:17 +0300)]
Overflow check
Rowan Collins [Mon, 24 Oct 2016 18:01:17 +0000 (18:01 +0000)]
Simplify ext/standard/tests/http/bug73297.phpt
Rowan Collins [Sun, 23 Oct 2016 18:24:58 +0000 (18:24 +0000)]
http_fopen_wrapper.c - bug#73297 Skip past "100 Continue" responses
Rowan Collins [Tue, 11 Oct 2016 21:12:18 +0000 (21:12 +0000)]
Add failing test for bug#73297
Dmitry Stogov [Thu, 17 Nov 2016 08:44:28 +0000 (11:44 +0300)]
Skip 64-bit specific tests on 32-bit systems
Dmitry Stogov [Wed, 16 Nov 2016 22:14:23 +0000 (01:14 +0300)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
Accorate handling of too big inodes of chroot directories
Dmitry Stogov [Wed, 16 Nov 2016 22:08:42 +0000 (01:08 +0300)]
Accorate handling of too big inodes of chroot directories
Mitch Hagstrand [Wed, 16 Nov 2016 20:00:52 +0000 (12:00 -0800)]
Fix #73546: Logging for opcache has an empty file name
Dmitry Stogov [Wed, 16 Nov 2016 20:19:56 +0000 (23:19 +0300)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
"opcache.validate_root" is useless on Windows
Dmitry Stogov [Wed, 16 Nov 2016 20:15:14 +0000 (23:15 +0300)]
"opcache.validate_root" is useless on Windows
Dmitry Stogov [Wed, 16 Nov 2016 20:05:00 +0000 (23:05 +0300)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
Use full path
Dmitry Stogov [Wed, 16 Nov 2016 20:01:40 +0000 (23:01 +0300)]
Use full path
Dmitry Stogov [Wed, 16 Nov 2016 13:47:05 +0000 (16:47 +0300)]
Merge branch 'PHP-7.0' of git.php.net:php-src into PHP-7.0
* 'PHP-7.0' of git.php.net:php-src: