]>
granicus.if.org Git - php/log
Jakub Zelenka [Sun, 27 Nov 2016 19:05:49 +0000 (19:05 +0000)]
Update UPGRADING with info about AEAD changes in openssl_(en|de)crypt
Jakub Zelenka [Sun, 27 Nov 2016 19:00:05 +0000 (19:00 +0000)]
Do not add extra timeval entropy when OpenSSL 1.1 used
It is already added by OpenSSL so it is not needed
Jakub Zelenka [Sun, 27 Nov 2016 18:54:28 +0000 (18:54 +0000)]
Clean up and fix php_openssl_dh_pub_from_priv
Matteo Beccati [Sun, 27 Nov 2016 09:20:50 +0000 (10:20 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Fix occasionaly failing test
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:14 +0000 (10:08 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Added missing array key to $JUNIT
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:37:06 +0000 (15:37 -0800)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
acinclude.m4: fix krb5-config detection and usage in PHP_SETUP_KERBEROS.
Add more mbfl string size checks (bug #73505)
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:50 +0000 (14:48 -0800)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
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 15:09:07 +0000 (16:09 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
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 [Sat, 26 Nov 2016 02:57:06 +0000 (18:57 -0800)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Fix more size_t/int implicit conversions
Fix int/size_t confusion in isValidPharFilename (bug #73580)
Stanislav Malyshev [Fri, 25 Nov 2016 23:32:59 +0000 (15:32 -0800)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Fix more size_t/int implicit conversions
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)
Stanislav Malyshev [Fri, 25 Nov 2016 23:31:22 +0000 (15:31 -0800)]
Merge branch 'PHP-7.1' of git.php.net:php-src into PHP-7.1
* 'PHP-7.1' of git.php.net:php-src:
Fix #73582: Failing ext/gd/tests/imagettftext_charmap_order.phpt
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.
Christoph M. Becker [Fri, 25 Nov 2016 22:27:13 +0000 (23:27 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
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.
Stanislav Malyshev [Fri, 25 Nov 2016 21:43:59 +0000 (13:43 -0800)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Fix int/size_t confusion in isValidPharFilename (bug #73580)
Stanislav Malyshev [Fri, 25 Nov 2016 21:42:35 +0000 (13:42 -0800)]
Fix int/size_t confusion in isValidPharFilename (bug #73580)
Anatol Belski [Thu, 24 Nov 2016 18:27:50 +0000 (19:27 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
add test for bug #57547
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:15 +0000 (10:40 +0000)]
Updated to version 2016.10 (2016j)
Derick Rethans [Thu, 24 Nov 2016 10:40:15 +0000 (10:40 +0000)]
Empty merge
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:04:03 +0000 (12:04 +0800)]
Update NEWS
Xinchen Hui [Thu, 24 Nov 2016 04:03:23 +0000 (12:03 +0800)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Fixed bug #73585 (Logging of "Internal Zend error - Missing class information" missing class name)
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:58:46 +0000 (01:58 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
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
Remi Collet [Wed, 23 Nov 2016 13:56:39 +0000 (14:56 +0100)]
CS (no leading space in comment for config option)
Xinchen Hui [Wed, 23 Nov 2016 06:24:46 +0000 (14:24 +0800)]
Fixed bug #73583 (Segfaults when conditionally declared class and function have the same name)
bug was introduced in rev
88eae43f , and the runtime defined key is not
merged-able
Nikita Popov [Tue, 22 Nov 2016 18:25:53 +0000 (19:25 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
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:44:06 +0000 (12:44 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
update libs_versions.txt
update libs versions.txt
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:56:16 +0000 (11:56 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
move dev to next
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:49 +0000 (13:28 +0300)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Fixed use after free
Dmitry Stogov [Tue, 22 Nov 2016 10:28:27 +0000 (13:28 +0300)]
Fixed use after free
Dmitry Stogov [Tue, 22 Nov 2016 09:06:39 +0000 (12:06 +0300)]
Micro-optimization
Dmitry Stogov [Tue, 22 Nov 2016 08:50:48 +0000 (11:50 +0300)]
Removed useless (double) checks for EG(exception). (Bob)
Dmitry Stogov [Tue, 22 Nov 2016 08:22:55 +0000 (11:22 +0300)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Fixed memory leak (Bob)
Dmitry Stogov [Tue, 22 Nov 2016 08:22:10 +0000 (11:22 +0300)]
Fixed memory leak (Bob)
Anatol Belski [Tue, 22 Nov 2016 01:59:17 +0000 (02:59 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Revert "fix invalid read, follow up on
97b65cc9 "
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:30:16 +0000 (02:30 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
fix invalid read, follow up on
97b65cc9
Anatol Belski [Tue, 22 Nov 2016 01:28:45 +0000 (02:28 +0100)]
fix invalid read, follow up on
97b65cc9
Anatol Belski [Tue, 22 Nov 2016 00:01:18 +0000 (01:01 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
update NEWS
update NEWS
Anatol Belski [Tue, 22 Nov 2016 00:01:00 +0000 (01:01 +0100)]
update NEWS
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:54 +0000 (00:46 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Fix bug #73498
Add a test for bug 73498
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 23:32:42 +0000 (00:32 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
remove TSRMLS_*
Anatol Belski [Mon, 21 Nov 2016 22:53:37 +0000 (23:53 +0100)]
remove TSRMLS_*
Anatol Belski [Mon, 21 Nov 2016 21:59:30 +0000 (22:59 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
update php.ini-* for bug #69090
update php.ini-* according to changes for bug #69090
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 19:01:07 +0000 (20:01 +0100)]
update NEWS
Anatol Belski [Mon, 21 Nov 2016 19:00:39 +0000 (20:00 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
update NEWS
update NEWS
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:31:34 +0000 (15:31 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
add test for bug #73452
Backport
15ac4904 to 5.6
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)]
Dmitry Stogov [Mon, 21 Nov 2016 07:38:08 +0000 (10:38 +0300)]
Regenerated files
Xinchen Hui [Mon, 21 Nov 2016 03:46:37 +0000 (11:46 +0800)]
Update NEWs
Xinchen Hui [Mon, 21 Nov 2016 03:46:03 +0000 (11:46 +0800)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Update NEWS
Fix memory leak(null coalescing operator with Spl hash)
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:38:34 +0000 (20:38 +0000)]
Merge branch 'PHP-7.0' into PHP-7.1
Jakub Zelenka [Sun, 20 Nov 2016 20:36:03 +0000 (20:36 +0000)]
Fix bug #73526 (php_json_encode depth issue)
Nikita Popov [Sun, 20 Nov 2016 20:18:48 +0000 (21:18 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
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.
Jakub Zelenka [Sun, 20 Nov 2016 20:06:39 +0000 (20:06 +0000)]
Fix bug #73478 (openssl_pkey_new() generates wrong pub/priv keys with Diffie Hellman)
Bob Weinand [Sun, 20 Nov 2016 18:20:09 +0000 (19:20 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1