]>
granicus.if.org Git - php/log
Jakub Zelenka [Mon, 20 Mar 2017 16:08:16 +0000 (16:08 +0000)]
Merge branch 'PHP-7.0' into PHP-7.1
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:20:17 +0000 (20:20 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Fri, 17 Mar 2017 19:19:40 +0000 (20:19 +0100)]
Fix bug #74265
Jakub Zelenka [Fri, 17 Mar 2017 19:08:26 +0000 (19:08 +0000)]
Merge branch 'PHP-7.0' into PHP-7.1
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:12:37 +0000 (18:12 +0000)]
Merge branch 'PHP-7.0' into PHP-7.1
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:35:50 +0000 (13:35 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
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.
Nikita Popov [Fri, 17 Mar 2017 11:48:03 +0000 (12:48 +0100)]
Disable block pass for large functions
This is the last fix for bug #74250.
Jakub Zelenka [Thu, 16 Mar 2017 18:12:54 +0000 (18:12 +0000)]
Merge branch 'PHP-7.0' into PHP-7.1
Jakub Zelenka [Thu, 16 Mar 2017 18:11:56 +0000 (18:11 +0000)]
Make test for bug #72333 a bit more reliable
Sebastian Bergmann [Thu, 16 Mar 2017 18:10:07 +0000 (19:10 +0100)]
Fugbix typo
Nikita Popov [Thu, 16 Mar 2017 17:11:27 +0000 (18:11 +0100)]
Further optimize worklist management
Instead of always popping the first elements, do multiple complete
iterations of the worklist until it is empty.
Nikita Popov [Thu, 16 Mar 2017 16:32:27 +0000 (17:32 +0100)]
Slightly optimize worklist management
Avoid scanning the worklist twice on every iteration.
Nikita Popov [Thu, 16 Mar 2017 16:02:11 +0000 (17:02 +0100)]
Optimize DJ spanning tree back-edge check
Instead of walking the DJ spanning tree upwards, record entry and
exit times during the DFS and use these to determine whether CJ
edges are sp-back edges.
Nikita Popov [Thu, 16 Mar 2017 15:49:36 +0000 (16:49 +0100)]
Sort blocks in loop identification
The previous implementation was doing O(blocks*levels) iterations,
which for a linear-ish domtree is O(blocks^2). Avoid this by sorting
the blocks by decreasing level upfront.
Nikita Popov [Thu, 16 Mar 2017 11:57:36 +0000 (12:57 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
Adam Saponara [Thu, 9 Mar 2017 19:27:01 +0000 (14:27 -0500)]
Return FALSE if error_log fails to write all bytes
Nikita Popov [Thu, 16 Mar 2017 00:26:27 +0000 (01:26 +0100)]
Use call_map to avoid linear call lookup
Nikita Popov [Wed, 15 Mar 2017 18:06:34 +0000 (19:06 +0100)]
Fix bug #69676
Bob Weinand [Tue, 14 Mar 2017 23:09:42 +0000 (00:09 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
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:17:10 +0000 (22:17 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
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:46:29 +0000 (18:46 +0000)]
Merge branch 'PHP-7.0' into PHP-7.1
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:32:46 +0000 (12:32 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
update binary sdk tools version for appveyor
Anatol Belski [Mon, 13 Mar 2017 11:31:31 +0000 (12:31 +0100)]
update binary sdk tools version for appveyor
Remi Collet [Mon, 13 Mar 2017 07:17:42 +0000 (08:17 +0100)]
rely on provided openssl.cnf to avoid possible failure with system defaults
andrewnester [Fri, 10 Mar 2017 17:34:23 +0000 (20:34 +0300)]
Implement FR #74217: deterministic sqlite functions
Nikita Popov [Fri, 10 Mar 2017 17:20:49 +0000 (18:20 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Thu, 9 Mar 2017 20:09:36 +0000 (21:09 +0100)]
Fixed bug #73960
Xinchen Hui [Fri, 10 Mar 2017 07:16:01 +0000 (15:16 +0800)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Fixed bug #74218 (ArrayIterator error message is confusing)
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:56:54 +0000 (11:56 -0800)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Add NEWS entry for
bab0b99f
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:48:14 +0000 (20:48 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
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.
Nikita Popov [Thu, 9 Mar 2017 16:31:52 +0000 (17:31 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
Thomas Orozco [Thu, 9 Jun 2016 08:45:40 +0000 (10:45 +0200)]
Fixed bug #71003: Add PDO::MYSQL_ATTR_SSL_VERIFY_SERVER_CERT
Nikita Popov [Thu, 9 Mar 2017 15:44:25 +0000 (16:44 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
mcq8 [Fri, 3 Jun 2016 19:28:20 +0000 (19:28 +0000)]
Fixed bug #72096 Swatch time value incorrect for dates before 1970
Joe Watkins [Thu, 9 Mar 2017 07:42:32 +0000 (07:42 +0000)]
Fix bug #74149 static embed SAPI linkage error
andrewnester [Thu, 2 Mar 2017 13:59:32 +0000 (16:59 +0300)]
Fixed bug #74058
Fall back from get_property_ptr_ptr to read_property if offsetGet
is overridden.
Sara Golemon [Tue, 7 Mar 2017 20:11:22 +0000 (12:11 -0800)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Detect invalid port in xp_socket parse ip address
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.
Anatol Belski [Tue, 7 Mar 2017 14:27:57 +0000 (15:27 +0100)]
sync with the incremental and inter-file analysis option
available as of cppcheck 1.77
Nikita Popov [Tue, 7 Mar 2017 12:17:33 +0000 (13:17 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
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 [Tue, 7 Mar 2017 07:18:34 +0000 (10:18 +0300)]
Fixed pointer allignment
Dmitry Stogov [Mon, 6 Mar 2017 14:09:05 +0000 (17:09 +0300)]
Ensure pointer alignment.
Dmitry Stogov [Fri, 3 Mar 2017 13:12:41 +0000 (16:12 +0300)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Fixed file-cache (Zend/tests/unused_shared_static_variables.phpt)
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:46:39 +0000 (20:46 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
sync NEWS for bug #74159
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:34:48 +0000 (20:34 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
improve signal globals consistency check for TS
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:41:43 +0000 (16:41 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
do not try to handle signals, when globals are inconsistent
Anatol Belski [Thu, 2 Mar 2017 15:39:32 +0000 (16:39 +0100)]
do not try to handle signals, when globals are inconsistent
Nikita Popov [Thu, 2 Mar 2017 11:36:04 +0000 (12:36 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
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:09 +0000 (11:28 +0000)]
Merge branch 'PHP-7.0' into PHP-7.1
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
Nikita Popov [Thu, 2 Mar 2017 11:13:38 +0000 (12:13 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
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:34:47 +0000 (15:34 +1100)]
Update NEWs
Christopher Jones [Thu, 2 Mar 2017 04:33:25 +0000 (15:33 +1100)]
Merge branch 'PHP-7.0' into PHP-7.1
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)
Derick Rethans [Wed, 1 Mar 2017 20:07:51 +0000 (20:07 +0000)]
Updated to version 2017.1 (2017a)
Derick Rethans [Wed, 1 Mar 2017 20:07:51 +0000 (20:07 +0000)]
Empty merge
Remi Collet [Wed, 1 Mar 2017 16:02:42 +0000 (17:02 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
make type consistent with glob_t.gl_pathc
Remi Collet [Wed, 1 Mar 2017 16:01:58 +0000 (17:01 +0100)]
make type consistent with glob_t.gl_pathc
Sara Golemon [Wed, 1 Mar 2017 01:17:41 +0000 (17:17 -0800)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Fix potential crash when setting invalid declare value
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.
Remi Collet [Tue, 28 Feb 2017 10:36:24 +0000 (11:36 +0100)]
make test slower again
Joe Watkins [Tue, 28 Feb 2017 09:08:05 +0000 (09:08 +0000)]
prepare 7.1.4
Anatol Belski [Tue, 28 Feb 2017 08:47:56 +0000 (09:47 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
prepare next
Anatol Belski [Tue, 28 Feb 2017 08:46:11 +0000 (09:46 +0100)]
prepare next
Joe Watkins [Mon, 27 Feb 2017 19:21:37 +0000 (19:21 +0000)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Revert "fix crash in phpdbg shutdown process when opcache is loaded"
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:55:14 +0000 (17:55 +0000)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
fix crash in phpdbg shutdown process when opcache is loaded
Joe Watkins [Mon, 27 Feb 2017 17:54:48 +0000 (17:54 +0000)]
fix crash in phpdbg shutdown process when opcache is loaded
Xinchen Hui [Sun, 26 Feb 2017 04:06:29 +0000 (12:06 +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:
Improve fix for bug #73807
Xinchen Hui [Sun, 26 Feb 2017 04:05:56 +0000 (12:05 +0800)]
Fixed bug #74157 (Segfault with nested generators)
Nikita Popov [Sat, 25 Feb 2017 11:57:53 +0000 (12:57 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
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.
Xinchen Hui [Sat, 25 Feb 2017 04:00:42 +0000 (12:00 +0800)]
Fixed bug #74164 (PHP hangs when an invalid value is dynamically passed to typehinted by-ref arg)
Xinchen Hui [Sat, 25 Feb 2017 03:10:37 +0000 (11:10 +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 bug #73127
Support run or test target invoked within debugger
Update test for bug #74159
Update NEWS
Fix bug #74159