]>
granicus.if.org Git - php/log
Joe Watkins [Mon, 10 Apr 2017 11:51:17 +0000 (12:51 +0100)]
Merge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
* 'PHP-7.0' of git.php.net:/php-src:
Fixed bug #74402 (segfault on random_bytes, bin2hex, openssl_seal)
Joe Watkins [Mon, 10 Apr 2017 11:48:51 +0000 (12:48 +0100)]
Fixed bug #74404 (wrong reflection on DateTimeZone::getTransitions)
Xinchen Hui [Mon, 10 Apr 2017 11:02:50 +0000 (19:02 +0800)]
Fixed bug #74402 (segfault on random_bytes, bin2hex, openssl_seal)
Joe Watkins [Mon, 10 Apr 2017 07:07:24 +0000 (08:07 +0100)]
Merge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
* 'PHP-7.0' of git.php.net:/php-src:
Fixed condition check
Fixed issue #2466 Invalid integer constant expression error in php.h
Joe Watkins [Mon, 10 Apr 2017 07:05:31 +0000 (08:05 +0100)]
Fixed bug #74400 (phpdbg comparing socket function to int)
Xinchen Hui [Mon, 10 Apr 2017 06:47:24 +0000 (14:47 +0800)]
Fixed condition check
Xinchen Hui [Mon, 10 Apr 2017 06:41:29 +0000 (14:41 +0800)]
Merge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
* 'PHP-7.0' of git.php.net:/php-src:
fix news
Fix of Bug #74383: Wrong reflection on Phar::running
Xinchen Hui [Mon, 10 Apr 2017 06:40:44 +0000 (14:40 +0800)]
Fixed issue #2466 Invalid integer constant expression error in php.h
Joe Watkins [Mon, 10 Apr 2017 05:44:20 +0000 (06:44 +0100)]
fix news
Mitch Hagstrand [Sun, 9 Apr 2017 22:30:35 +0000 (15:30 -0700)]
Fix of Bug #74383: Wrong reflection on Phar::running
Xinchen Hui [Mon, 10 Apr 2017 03:49:44 +0000 (11:49 +0800)]
Merge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
* 'PHP-7.0' of git.php.net:/php-src:
Add NEWS
Resolve bug #74188 (undefined statics raising with ?? operator)
Fixed bug #72071: Prevent Max-Age from being negative
Update NEWS with OpenSSL 1.1.0 support info
Add OpenSSL 1.1.0 support to PHP 7.0
Xinchen Hui [Mon, 10 Apr 2017 03:44:41 +0000 (11:44 +0800)]
Fixed bug #74379 (syntax error compile error in libmagic/apprentice.c)
Xinchen Hui [Mon, 10 Apr 2017 03:22:08 +0000 (11:22 +0800)]
Missed NEWS
Nikita Popov [Sun, 9 Apr 2017 13:52:37 +0000 (15:52 +0200)]
Add NEWS
Thomas Punt [Sat, 1 Apr 2017 14:37:48 +0000 (15:37 +0100)]
Resolve bug #74188 (undefined statics raising with ?? operator)
Craig Duncan [Mon, 3 Apr 2017 11:31:26 +0000 (12:31 +0100)]
Fixed bug #72071: Prevent Max-Age from being negative
Jakub Zelenka [Fri, 7 Apr 2017 18:27:25 +0000 (19:27 +0100)]
Update NEWS with OpenSSL 1.1.0 support info
Jakub Zelenka [Fri, 7 Apr 2017 18:20:11 +0000 (19:20 +0100)]
Add OpenSSL 1.1.0 support to PHP 7.0
Yussuf Khalil [Wed, 5 Apr 2017 18:57:03 +0000 (20:57 +0200)]
Fix invalid free of persistent results on error/connection loss in mysqlnd (bug 74376)
Anatol Belski [Tue, 4 Apr 2017 14:21:23 +0000 (16:21 +0200)]
Revert "extend skip section"
This reverts commit
51360480649628a58b4c06940b6c4ad49ff31186 .
This is not needed anymore wrt dst handling fix
Anatol Belski [Mon, 3 Apr 2017 13:20:32 +0000 (15:20 +0200)]
fix possible out of bounds buffer access
Martin Hujer [Sat, 1 Apr 2017 14:33:44 +0000 (16:33 +0200)]
Fix opcache.max_accelerated_files doc in php.ini
As stated in docs: https://secure.php.net/manual/en/opcache.configuration.php#ini.opcache.max-accelerated-files, the maximum is now
1000000
> The maximum value is 100000 in PHP < 5.5.6, and
1000000 in later versions.
Moritz Fain [Thu, 30 Mar 2017 14:20:52 +0000 (16:20 +0200)]
Fixed bug #74341
Added support for ASN.1 UTCTime without seconds part (being 11 characters
long instead of 13).
Additionally, fixed incorrect handling of DST on systems without gmtoff.
Anatol Belski [Thu, 30 Mar 2017 23:42:46 +0000 (01:42 +0200)]
update sdk version for appveyor
Joe Watkins [Thu, 30 Mar 2017 15:27:40 +0000 (16:27 +0100)]
fix bug #74343 compile fails on solaris 11 with system libgd
Nikita Popov [Fri, 17 Mar 2017 11:48:03 +0000 (12:48 +0100)]
Disable block pass for large functions
(Backport of
7ea261685f179a7cddcc4196fc7f3f12572c3d49 to 7.0.)
Anatol Belski [Tue, 28 Mar 2017 11:12:27 +0000 (13:12 +0200)]
update NEWS
Anatol Belski [Tue, 28 Mar 2017 11:06:38 +0000 (13:06 +0200)]
Revert "Fixed bug #61471"
This reverts commit
80c8d84af303d2fddc9ba9f181c7117b9040811d .
Anatol Belski [Tue, 28 Mar 2017 09:49:04 +0000 (11:49 +0200)]
prepare next
Anatol Belski [Tue, 28 Mar 2017 09:43:02 +0000 (11:43 +0200)]
update NEWS
Anatol Belski [Mon, 27 Mar 2017 17:38:20 +0000 (19:38 +0200)]
Anatol Belski [Mon, 27 Mar 2017 17:33:51 +0000 (19:33 +0200)]
add test for bug #74230
Derick Rethans [Mon, 27 Mar 2017 17:01:22 +0000 (18:01 +0100)]
Forgot to update the output in the test too
Anatol Belski [Mon, 27 Mar 2017 16:07:16 +0000 (18:07 +0200)]
always use staging deps for CI, that's what we have a CI for as well
Derick Rethans [Mon, 27 Mar 2017 10:28:16 +0000 (11:28 +0100)]
Fixed test for #33415 due to data fixes.
Derick Rethans [Fri, 24 Mar 2017 12:25:25 +0000 (12:25 +0000)]
Updated to version 2017.2 (2017b)
Nikita Popov [Thu, 23 Mar 2017 21:48:45 +0000 (22:48 +0100)]
Fix sequencing UB
Nikita Popov [Thu, 23 Mar 2017 21:42:57 +0000 (22:42 +0100)]
Fix lineno for AST_ZVAL nodes
Sara Golemon [Thu, 23 Mar 2017 19:27:33 +0000 (12:27 -0700)]
Fix bug where `yield from` is captured too greedily
In the following piece of code:
```php
function from1234($x) {
return $x;
}
function foo($x) {
yield from1234($x);
}
```
The statement inside foo is taken as `yield from` `1234($x)`
which is neither the intent, nor even legal syntax for an fcall.
Do a lookahead for breaking non-label characters after the
`yield from` and only accept it if they occur.
Dmitry Stogov [Thu, 23 Mar 2017 15:59:27 +0000 (18:59 +0300)]
Fixed uninitialized data
Anatol Belski [Thu, 23 Mar 2017 12:00:14 +0000 (13:00 +0100)]
adjust deps dir naming scheme
not principal, just to have it same way as everywhere
Anatol Belski [Tue, 21 Mar 2017 11:39:40 +0000 (12:39 +0100)]
explicitly ignore php.ini for proc open tests
In some cases, when an environment is unclean, tests might get stuck fe
when some incorrect ini file is loaded. As the test depends on the core
only, it is safer to explicitly ignore the ini. Any ini can be passed in
the cmd itself, if needed.
Jakub Zelenka [Mon, 20 Mar 2017 16:07:12 +0000 (16:07 +0000)]
Lower timeout in test for but #72333
Nikita Popov [Fri, 17 Mar 2017 19:19:40 +0000 (20:19 +0100)]
Fix bug #74265
Jakub Zelenka [Fri, 17 Mar 2017 19:07:32 +0000 (19:07 +0000)]
Make test 002 for bug #65538 not to use https in cafile
Jakub Zelenka [Fri, 17 Mar 2017 18:11:50 +0000 (18:11 +0000)]
Consume data by server in test for bug #72333
Client should be able to write more data and prevent time out
Nikita Popov [Fri, 17 Mar 2017 12:34:18 +0000 (13:34 +0100)]
Fix AST start lineno for list nodes
If the node is initialized with children, check if a child has a
lower start lineno, similar to what we do for fixed-sized nodes
as well.
Jakub Zelenka [Thu, 16 Mar 2017 18:11:56 +0000 (18:11 +0000)]
Make test for bug #72333 a bit more reliable
Adam Saponara [Thu, 9 Mar 2017 19:27:01 +0000 (14:27 -0500)]
Return FALSE if error_log fails to write all bytes
Matt Bonneau [Mon, 13 Mar 2017 04:11:30 +0000 (00:11 -0400)]
Fixed bug #74240 (deflate_add can allocate too much memory)
Bob Weinand [Tue, 14 Mar 2017 21:15:41 +0000 (22:15 +0100)]
Fix stream context changes leaking into copies of previous context
Jakub Zelenka [Tue, 14 Mar 2017 18:43:39 +0000 (18:43 +0000)]
Merge branch 'bug72333' into PHP-7.0
Jakub Zelenka [Tue, 14 Mar 2017 18:41:23 +0000 (18:41 +0000)]
Replace NEWS entry for #74159 with #72333
The #74159 is duplicate
Jakub Zelenka [Mon, 13 Mar 2017 21:05:09 +0000 (21:05 +0000)]
Skip bug74159 test for OpenSSL lower than 1.0.1
Jakub Zelenka [Sat, 11 Mar 2017 19:38:26 +0000 (19:38 +0000)]
Tidy up test for bug72333
Jakub Zelenka [Wed, 8 Mar 2017 19:49:39 +0000 (19:49 +0000)]
Speed up test for bug72333
It reliably fails without the xp_ssl.c so it is good with smaller usleep
Jakub Zelenka [Wed, 8 Mar 2017 19:38:54 +0000 (19:38 +0000)]
Fix indent and add comment
Jakub Zelenka [Wed, 8 Mar 2017 19:30:02 +0000 (19:30 +0000)]
Tidy up setting of SSL_MODE_RELEASE_BUFFERS
Jakub Zelenka [Mon, 6 Mar 2017 19:43:25 +0000 (19:43 +0000)]
Remove extra SSL mode settings
Jakub Zelenka [Sun, 22 Jan 2017 20:44:29 +0000 (20:44 +0000)]
Fix bug #72333 (fwrite() on non-blocking SSL sockets does not work)
Anatol Belski [Mon, 13 Mar 2017 11:31:31 +0000 (12:31 +0100)]
update binary sdk tools version for appveyor
Nikita Popov [Thu, 9 Mar 2017 20:09:36 +0000 (21:09 +0100)]
Fixed bug #73960
Xinchen Hui [Fri, 10 Mar 2017 07:15:31 +0000 (15:15 +0800)]
Fixed bug #74218 (ArrayIterator error message is confusing)
Sara Golemon [Thu, 9 Mar 2017 19:47:29 +0000 (11:47 -0800)]
Add NEWS entry for
bab0b99f
Nikita Popov [Thu, 9 Mar 2017 19:47:06 +0000 (20:47 +0100)]
Fixed bug #73370
If len=0 malloc() is allowed to return NULL.
Thomas Orozco [Thu, 9 Jun 2016 08:45:40 +0000 (10:45 +0200)]
Fixed bug #71003: Add PDO::MYSQL_ATTR_SSL_VERIFY_SERVER_CERT
mcq8 [Fri, 3 Jun 2016 19:28:20 +0000 (19:28 +0000)]
Fixed bug #72096 Swatch time value incorrect for dates before 1970
Sara Golemon [Tue, 7 Mar 2017 19:27:46 +0000 (11:27 -0800)]
Detect invalid port in xp_socket parse ip address
For historical reasons, fsockopen() accepts the port and hostname
separately: fsockopen('127.0.0.1', 80)
However, with the introdcution of stream transports in PHP 4.3,
it became possible to include the port in the hostname specifier:
fsockopen('127.0.0.1:80')
Or more formally: fsockopen('tcp://127.0.0.1:80')
Confusing results when these two forms are combined, however.
fsockopen('127.0.0.1:80', 443) results in fsockopen() attempting
to connect to '127.0.0.1:80:443' which any reasonable stack would
consider invalid.
Unfortunately, PHP parses the address looking for the first colon
(with special handling for IPv6, don't worry) and calls atoi()
from there. atoi() in turn, simply stops parsing at the first
non-numeric character and returns the value so far.
The end result is that the explicitly supplied port is treated
as ignored garbage, rather than producing an error.
This diff replaces atoi() with strtol() and inspects the
stop character. If additional "garbage" of any kind is found,
it fails and returns an error.
Nikita Popov [Tue, 7 Mar 2017 12:16:06 +0000 (13:16 +0100)]
Fix out of bounds access in gc_find_additional_buffer()
Dmitry Stogov [Fri, 3 Mar 2017 13:10:46 +0000 (16:10 +0300)]
Fixed file-cache (Zend/tests/unused_shared_static_variables.phpt)
Anatol Belski [Thu, 2 Mar 2017 19:45:15 +0000 (20:45 +0100)]
sync NEWS for bug #74159
Anatol Belski [Thu, 2 Mar 2017 19:27:27 +0000 (20:27 +0100)]
improve signal globals consistency check for TS
Seems when we receive TERM, TLS is destroyed completely. In that case,
not only signal globals, but the entire globals array doesn't exist
anymore.
Anatol Belski [Thu, 2 Mar 2017 15:39:32 +0000 (16:39 +0100)]
do not try to handle signals, when globals are inconsistent
somedaysummer [Fri, 27 Jan 2017 20:20:07 +0000 (15:20 -0500)]
PHP bug #74004
Fix for DOMDocument loadHTML and loadHTMLFile ignore LIBXML_NOWARNING
and LIBXML_NOERROR flags.
Derick Rethans [Thu, 2 Mar 2017 11:28:02 +0000 (11:28 +0000)]
Fixed tests after tzdb removed abbreviations
Derick Rethans [Thu, 2 Mar 2017 11:27:44 +0000 (11:27 +0000)]
Make sure we anchor this test to February
Mitch Hagstrand [Wed, 1 Mar 2017 23:08:59 +0000 (15:08 -0800)]
Fix bug73858.phpt to work in months without 31 days
Used hardcoded months in bug73858.phpt rather than the current and previous
month.
Christopher Jones [Thu, 2 Mar 2017 04:28:01 +0000 (15:28 +1100)]
Fixed bug #54379 (PDO_OCI: UTF-8 output gets truncated)
This was a modification of an incomplete PR #2276.
Derick Rethans [Wed, 1 Mar 2017 20:07:51 +0000 (20:07 +0000)]
Updated to version 2017.1 (2017a)
Remi Collet [Wed, 1 Mar 2017 16:01:58 +0000 (17:01 +0100)]
make type consistent with glob_t.gl_pathc
Sara Golemon [Wed, 22 Feb 2017 21:56:38 +0000 (13:56 -0800)]
Fix potential crash when setting invalid declare value
Using a non-literal expression in a declare value can cause the
compiler to crash trying to turn that AST node into a usable zval.
There was an existing test for such values using 'encoding',
but that didn't crash because it's handled by the lexer
rather than being compiled.
Trying to use a non-literal with ticks reproduces the crash.
Anatol Belski [Tue, 28 Feb 2017 08:46:11 +0000 (09:46 +0100)]
prepare next
Joe Watkins [Mon, 27 Feb 2017 19:21:10 +0000 (19:21 +0000)]
Revert "fix crash in phpdbg shutdown process when opcache is loaded"
This reverts commit
008fb28eafa3740b1e3696b1a5cf7566d493b97d .
Joe Watkins [Mon, 27 Feb 2017 17:54:48 +0000 (17:54 +0000)]
fix crash in phpdbg shutdown process when opcache is loaded
Nikita Popov [Sat, 25 Feb 2017 11:55:14 +0000 (12:55 +0100)]
Improve fix for bug #73807
At least on some architectures memmove() on FreeBSD does not
short-curcuit if src==dst. Check for it explicitly to avoid
quadratic copying.
Grundik [Sat, 18 Feb 2017 02:53:13 +0000 (05:53 +0300)]
Fix bug #73127
gost-crypto hash was incorrect if input data contained long 0xFF
sequence, due to a carry-propagation bug.
Anatol Belski [Fri, 24 Feb 2017 18:37:16 +0000 (19:37 +0100)]
Support run or test target invoked within debugger
Useful, as it gets all the environment produced by the makefile. For the
test target, it might make sense to have the child process debug plugin
for VS installed.
Aaron Piotrowski [Fri, 24 Feb 2017 04:24:59 +0000 (22:24 -0600)]
Update test for bug #74159
Aaron Piotrowski [Fri, 24 Feb 2017 03:10:14 +0000 (21:10 -0600)]
Update NEWS
Aaron Piotrowski [Fri, 24 Feb 2017 02:58:12 +0000 (20:58 -0600)]
Fix bug #74159
Thanks to @brzuchal for the patch to xp_ssl.c and @DaveRandom for helping debug the problem.
Xinchen Hui [Thu, 23 Feb 2017 04:33:17 +0000 (12:33 +0800)]
Fixed bug #74152 (if statement says true to a null variable)
Xinchen Hui [Thu, 23 Feb 2017 03:02:23 +0000 (11:02 +0800)]
Fixed bug #74148 (ReflectionFunction incorrectly reports the number of arguments)
Remi Collet [Tue, 21 Feb 2017 15:27:51 +0000 (16:27 +0100)]
report about OpenSSL 1.1 not supported during configure
Coenraad Loubser [Tue, 21 Feb 2017 02:02:22 +0000 (04:02 +0200)]
pull-request/2393:
stop make install from clobbering default dot d configuration
Dmitry Stogov [Tue, 21 Feb 2017 07:47:48 +0000 (10:47 +0300)]
too many dashes
Dmitry Stogov [Tue, 21 Feb 2017 07:41:20 +0000 (10:41 +0300)]
Increase WSDL cache version (7.0 wsdl cache is incomatible with PHP-5)
Include WSDL cache version number into file name
Remi Collet [Sun, 19 Feb 2017 16:02:00 +0000 (17:02 +0100)]
fix test for libzip 1.2.0
Anatol Belski [Sat, 18 Feb 2017 16:58:17 +0000 (17:58 +0100)]
initialize valid_symbol_table, important for the main thread
to prevent php_errormsg population on invalid symlol_table
Benjamin Robin [Wed, 15 Feb 2017 23:06:46 +0000 (00:06 +0100)]
Fixed bug #74105
If getrandom syscall is unavailable (ENOSYS), try to fallback on
/dev/urandom.
Ondřej Surý [Thu, 16 Feb 2017 07:57:30 +0000 (08:57 +0100)]
Disable RTLD_DEEPBIND when compiling with AddressSanitizer (-fsanitize=address).
The AddressSanitizer doesn't support RTLD_DEEPBIND resulting in
erratic errors when deinitializing phar module and possibly others.
Clang use __has_feature() macro to indicate compilation with
AddressSanitizer while gcc uses __SANITIZE_ADDRESS__ define.
Fixes bug #73677.