]>
granicus.if.org Git - php/log
Nikita Popov [Thu, 9 Mar 2017 15:24:51 +0000 (16:24 +0100)]
Drop outdated makerpm script
Not updated since 2003, uses Copyright tag (not supported since
2005), uses a number of configure options that have been dropped
ages ago, etc.
Dennis Birkholz [Wed, 5 Aug 2015 14:42:42 +0000 (16:42 +0200)]
Pcntl: Make realtime signals available
Expose constants SIGRTMIN and SIGRTMAX and adjust range checks to
support realtime signals.
c9s [Wed, 4 May 2016 06:09:41 +0000 (14:09 +0800)]
Enable ccache on Travis
Joe Watkins [Thu, 9 Mar 2017 07:44:18 +0000 (07:44 +0000)]
Merge branch 'PHP-7.1'
* PHP-7.1:
Fix bug #74149 static embed SAPI linkage error
Joe Watkins [Thu, 9 Mar 2017 07:42:32 +0000 (07:42 +0000)]
Fix bug #74149 static embed SAPI linkage error
Nikita Popov [Wed, 8 Mar 2017 23:10:31 +0000 (00:10 +0100)]
Merge branch 'PHP-7.1'
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 [Wed, 8 Mar 2017 18:00:59 +0000 (10:00 -0800)]
Try fallback on IPv4 ANYADDR when IPv6 ANYADDR fails
https://bugs.php.net/bug.php?id=74166
A host system with no/limited IPv6 support will fail at binding
the IPv6 ANYADDR address (::) as the address family is unsupported.
Deal with this by handling failure to implicitly bind to ::
as a soft failure, falling back to 0.0.0.0.
If binding to :: failed for some other reason (e.g. port in use)
then binding to 0.0.0.0 will likely fail as well, but we'll
get appropriate warnings for that.
Sara Golemon [Tue, 7 Mar 2017 20:11:31 +0000 (12:11 -0800)]
Merge branch 'PHP-7.1'
* PHP-7.1:
Detect invalid port in xp_socket parse ip address
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 18:01:00 +0000 (19:01 +0100)]
move to hash API for interned strings ht management
Anatol Belski [Tue, 7 Mar 2017 14:42:19 +0000 (15:42 +0100)]
drop redundant checks
Anatol Belski [Tue, 7 Mar 2017 14:31:54 +0000 (15:31 +0100)]
Merge branch 'PHP-7.1'
* PHP-7.1:
sync with the incremental and inter-file analysis option
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
Anatol Belski [Tue, 7 Mar 2017 12:29:37 +0000 (13:29 +0100)]
move to hash API
Nikita Popov [Tue, 7 Mar 2017 12:18:04 +0000 (13:18 +0100)]
Merge branch 'PHP-7.1'
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:57 +0000 (10:18 +0300)]
Merge branch 'PHP-7.1'
* PHP-7.1:
Fixed pointer allignment
Dmitry Stogov [Tue, 7 Mar 2017 07:18:34 +0000 (10:18 +0300)]
Fixed pointer allignment
Dmitry Stogov [Tue, 7 Mar 2017 06:50:28 +0000 (09:50 +0300)]
Merge branch 'PHP-7.1'
* PHP-7.1:
Ensure pointer alignment.
Dmitry Stogov [Mon, 6 Mar 2017 14:09:05 +0000 (17:09 +0300)]
Ensure pointer alignment.
Anatol Belski [Tue, 7 Mar 2017 00:33:19 +0000 (01:33 +0100)]
remove accidentially commited file
Anatol Belski [Tue, 7 Mar 2017 00:29:45 +0000 (01:29 +0100)]
extend ccppcheck defs
Dmitry Stogov [Mon, 6 Mar 2017 14:09:05 +0000 (17:09 +0300)]
Ensure pointer alignment.
Anatol Belski [Sat, 4 Mar 2017 09:39:13 +0000 (10:39 +0100)]
Interned strings unification for TS/NTS
Hereby, interned strings are supported in thread safe PHP. The patch
implements two types of interned strings
- interning per process, strings are not freed till process end
- interning per request, strings are freed at request end
There is no runtime interning.
With Opcache, all the permanent iterned strings are copied into SHM on
startup, additional copying into SHM might happen on demand.
Dmitry Stogov [Fri, 3 Mar 2017 13:13:03 +0000 (16:13 +0300)]
Merge branch 'PHP-7.1'
* PHP-7.1:
Fixed file-cache (Zend/tests/unused_shared_static_variables.phpt)
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)
Dmitry Stogov [Fri, 3 Mar 2017 09:26:49 +0000 (12:26 +0300)]
Fixed file-cache support (serialization/deserialization of zend_type)
Anatol Belski [Thu, 2 Mar 2017 19:47:56 +0000 (20:47 +0100)]
Merge branch 'PHP-7.1'
* PHP-7.1:
sync NEWS for bug #74159
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:36:12 +0000 (20:36 +0100)]
Merge branch 'PHP-7.1'
* PHP-7.1:
improve signal globals consistency check for TS
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:43:10 +0000 (16:43 +0100)]
Merge branch 'PHP-7.1'
* PHP-7.1:
do not try to handle signals, when globals are inconsistent
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
Remi Collet [Thu, 2 Mar 2017 12:36:40 +0000 (13:36 +0100)]
Zip: add support for encrypted archive
Nikita Popov [Thu, 2 Mar 2017 11:36:31 +0000 (12:36 +0100)]
Merge branch 'PHP-7.1'
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:17 +0000 (11:28 +0000)]
Merge branch 'PHP-7.1'
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
Eric Poe [Sat, 4 Feb 2017 02:56:18 +0000 (21:56 -0500)]
Add test-case from bug #55157
The issue itself is not fixed, this is just a workaround.
Nikita Popov [Thu, 2 Mar 2017 11:14:00 +0000 (12:14 +0100)]
Merge branch 'PHP-7.1'
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:35:19 +0000 (15:35 +1100)]
Update NEWS
Christopher Jones [Thu, 2 Mar 2017 04:34:47 +0000 (15:34 +1100)]
Update NEWs
Christopher Jones [Thu, 2 Mar 2017 04:33:50 +0000 (15:33 +1100)]
Merge branch 'PHP-7.1'
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.
Adam Baratz [Wed, 1 Mar 2017 21:28:47 +0000 (16:28 -0500)]
Remove dead code related to error constants
Adam Baratz [Wed, 1 Mar 2017 21:27:26 +0000 (16:27 -0500)]
Remove PHP5-specific code
Derick Rethans [Wed, 1 Mar 2017 20:07:53 +0000 (20:07 +0000)]
Updated to version 2017.1 (2017a)
Derick Rethans [Wed, 1 Mar 2017 20:07:52 +0000 (20:07 +0000)]
Empty merge
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:03:11 +0000 (17:03 +0100)]
Merge branch 'PHP-7.1'
* PHP-7.1:
make type consistent with glob_t.gl_pathc
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:18:08 +0000 (17:18 -0800)]
Merge branch 'PHP-7.1'
* PHP-7.1:
Fix potential crash when setting invalid declare value
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:42 +0000 (11:36 +0100)]
Merge branch 'PHP-7.1'
* PHP-7.1:
make test slower again
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:34 +0000 (09:08 +0000)]
Merge branch 'PHP-7.1'
* PHP-7.1:
prepare 7.1.4
Joe Watkins [Tue, 28 Feb 2017 09:08:05 +0000 (09:08 +0000)]
prepare 7.1.4
Anatol Belski [Tue, 28 Feb 2017 08:52:44 +0000 (09:52 +0100)]
Merge branch 'PhP-7.1'
* PhP-7.1:
prepare next
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:51 +0000 (19:21 +0000)]
Merge branch 'PHP-7.1'
* PHP-7.1:
Revert "fix crash in phpdbg shutdown process when opcache is loaded"
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:31 +0000 (17:55 +0000)]
Merge branch 'PHP-7.1'
* PHP-7.1:
fix crash in phpdbg shutdown process when opcache is loaded
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:07:03 +0000 (12:07 +0800)]
Merge branch 'PHP-7.1'
* PHP-7.1:
Fixed bug #74157 (Segfault with nested generators)
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:58:03 +0000 (12:58 +0100)]
Merge branch 'PHP-7.1'
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:57 +0000 (12:00 +0800)]
Merge branch 'PHP-7.1'
* PHP-7.1:
Fixed bug #74164 (PHP hangs when an invalid value is dynamically passed to typehinted by-ref arg)
Fixed typo (it should be typo)
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
Tom Van Looy [Fri, 24 Feb 2017 21:25:51 +0000 (22:25 +0100)]
fix command not found warning in ext/gd
./configure: line 32011: PHP_GD_TTSTR: command not found
Nikita Popov [Fri, 24 Feb 2017 22:22:46 +0000 (23:22 +0100)]
Merge branch 'PHP-7.1'
Nikita Popov [Fri, 24 Feb 2017 22:22:24 +0000 (23:22 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
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:43:26 +0000 (19:43 +0100)]
Merge branch 'PHP-7.1'
* PHP-7.1:
Support run or test target invoked within debugger
Anatol Belski [Fri, 24 Feb 2017 18:41:30 +0000 (19:41 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Support run or test target invoked within debugger
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.
Anatol Belski [Fri, 24 Feb 2017 10:44:39 +0000 (11:44 +0100)]
fix test, yet master staging only