]>
granicus.if.org Git - php/log
Gabriel Caruso [Thu, 8 Feb 2018 12:05:00 +0000 (10:05 -0200)]
Fix #75857: Timezone gets truncated when formatted
Use sizeof buffer instead of hard-coded lenghts
Pedro Lacerda [Wed, 7 Feb 2018 02:55:31 +0000 (23:55 -0300)]
Fixed bug #75928
Mitch Hagstrand [Fri, 9 Feb 2018 17:30:45 +0000 (11:30 -0600)]
Enhancements and fixes for print_pi in gdbinit
1) Outputs the default value and the offset of a property
2) Fixed output of property flags
Pedro Magalhães [Tue, 6 Feb 2018 19:16:22 +0000 (19:16 +0000)]
Fixes bug #75871 Use pkg-config for libxml2 if available
David Zuelke [Wed, 13 Sep 2017 22:03:37 +0000 (00:03 +0200)]
Fixed bug #49876 lib path on 64bit distros
Bishop Bettini [Fri, 2 Feb 2018 02:29:37 +0000 (21:29 -0500)]
Fixed bug #65414
CHU Zhaowei [Tue, 19 Dec 2017 16:22:27 +0000 (00:22 +0800)]
Fixed bug #74519 strange behavior of AppendIterator
CHU Zhaowei [Sun, 10 Dec 2017 18:22:55 +0000 (02:22 +0800)]
fix #74519 strange behavior of AppendIterator
Anatol Belski [Mon, 5 Feb 2018 09:38:06 +0000 (10:38 +0100)]
Finer conditions, so /Qspectre is already usable with latest vc15
Michael Wallner [Mon, 5 Feb 2018 08:04:07 +0000 (09:04 +0100)]
fix bug #75916 DNS_CAA record results contain garbage
It is assumed that DNS_CAA record values are zero terminated,
while its length is defined as (RDATA_LENGTH - tag_length - 2).
Chris Lamb [Fri, 2 Feb 2018 11:20:58 +0000 (11:20 +0000)]
Fix SOURCE_DATE_EPOCH to not vary on timezones
Anatol Belski [Fri, 2 Feb 2018 13:06:53 +0000 (14:06 +0100)]
Switch to the new PHP SDK version on AppVeyor
Anatol Belski [Thu, 1 Feb 2018 14:25:15 +0000 (15:25 +0100)]
[ci skip] Update NEWS
Anatol Belski [Wed, 31 Jan 2018 19:15:30 +0000 (20:15 +0100)]
Fix race conditions with Apache vhost vs. per dir config
If the same php_value/php_flag is present in httpd.conf and .htaccess,
the key is potentially shared between threads. Unfortunately we can't
intern these keys using the current mechanism, because the MPM is setup
before the SAPI module setup is even started. A more elegant way were
to implement a kind of string pool for the thread safe Apache SAPI
config directives with the mechanism similar to what is done for the
SAPI setup now, but doing a separate management.
(cherry picked from commit
73eb5a78b9caa18d35624765f9b972c1ba48855d )
Jakub Zelenka [Tue, 30 Jan 2018 19:58:40 +0000 (19:58 +0000)]
Use correct certs for SNI server tests
Thomas Punt [Mon, 29 Jan 2018 11:13:10 +0000 (11:13 +0000)]
Use the correct freeing function
Christoph M. Becker [Sat, 27 Jan 2018 12:11:30 +0000 (13:11 +0100)]
Revert "Fix #75878: RecursiveTreeIterator::setPostfix has wrong signature"
This reverts commit
4bd7658e1b44b72ff76913036c1b41f74318b065 .
To avoid the BC break we apply the fix to master only.
Christoph M. Becker [Sat, 27 Jan 2018 11:33:36 +0000 (12:33 +0100)]
Fix #75878: RecursiveTreeIterator::setPostfix has wrong signature
Philip Prindeville [Thu, 25 Jan 2018 01:47:19 +0000 (18:47 -0700)]
Be consistent in clearing out in php_iconv_string()
Derick Rethans [Wed, 24 Jan 2018 13:57:06 +0000 (13:57 +0000)]
Updated to version 2018.3 (2018c)
Sara Golemon [Tue, 23 Jan 2018 16:06:34 +0000 (11:06 -0500)]
Fix alignment of PG struct cause by ignore_user_abort big endian fix
Sara Golemon [Tue, 23 Jan 2018 14:24:40 +0000 (09:24 -0500)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Use Z_EXPECTED_LONG to initialize FAST_ZPP parsing loop
Sara Golemon [Tue, 23 Jan 2018 14:10:36 +0000 (09:10 -0500)]
Use Z_EXPECTED_LONG to initialize FAST_ZPP parsing loop
Sara Golemon [Tue, 23 Jan 2018 13:46:38 +0000 (08:46 -0500)]
BigEndian fix for ignore_user_abort. Use zend_bool to match OnUpdateBool
Anatol Belski [Mon, 22 Jan 2018 18:14:24 +0000 (19:14 +0100)]
[ci skip] Update NEWS
Anatol Belski [Mon, 22 Jan 2018 16:02:54 +0000 (17:02 +0100)]
Fixed bug #73725 Unable to retrieve value of varchar(max) type
Xinchen Hui [Thu, 18 Jan 2018 02:53:23 +0000 (10:53 +0800)]
Fixed #75838 (Memory leak in pg_escape_bytea())
Anatol Belski [Wed, 17 Jan 2018 13:31:51 +0000 (14:31 +0100)]
Add switches for Spectre variant 1 mitigation
Anatol Belski [Tue, 16 Jan 2018 18:47:35 +0000 (19:47 +0100)]
7.0.15 next
Anatol Belski [Mon, 15 Jan 2018 16:46:34 +0000 (17:46 +0100)]
[ci skip] Update NEWS
Anatol Belski [Mon, 15 Jan 2018 13:23:46 +0000 (14:23 +0100)]
Allow pecl like usage in ext/phar, closes #2955
Nikita Popov [Mon, 15 Jan 2018 11:13:55 +0000 (12:13 +0100)]
Fixed bug #75079
Anatol Belski [Sun, 14 Jan 2018 15:38:36 +0000 (16:38 +0100)]
Sync for upcoming vc++ 15.6 version raise
Anatol Belski [Sat, 13 Jan 2018 13:48:48 +0000 (14:48 +0100)]
[ci skip] Update NEWS
Anatol Belski [Sat, 13 Jan 2018 11:32:00 +0000 (12:32 +0100)]
Fix invalid free
Nikita Popov [Sat, 13 Jan 2018 10:04:26 +0000 (11:04 +0100)]
Fix generator GC if yield from parent chain does not reach root
Parents may be unlinked while another generator sharing part of the
chain is running. As such, we cannot assume that the parent chain
goes all the way to the root. Instead walk backwards from root to
leaf, like we also do during destruction.
Nikita Popov [Fri, 12 Jan 2018 21:48:29 +0000 (22:48 +0100)]
Try to fix yield from GC issues
Make sure we always update root and parent references before
releasing the old root object.
This fixes some crashes under aggressive cycle collection, so
hopefully this will also fix bug #75351.
Nikita Popov [Fri, 12 Jan 2018 20:24:04 +0000 (21:24 +0100)]
Fixed bug #75396
Do not run finally blocks in generators on unclean shutdown (e.g.
caused by exit). This is consistent with how finally blocks outside
of generators behave.
Nikita Popov [Fri, 12 Jan 2018 17:11:12 +0000 (18:11 +0100)]
Revert "Fixed bug #75287 (Builtin webserver crash after chdir in a shutdown function)"
This reverts commit
816758eda2bcdd69ba505fb6bbb79124a7bf2254 .
After this commit relative router scripts were resolved against
docroot rather than shell cwd.
Anatol Belski [Fri, 12 Jan 2018 16:13:18 +0000 (17:13 +0100)]
Fixed bug #75774 imap_append HeapCorruction
Anatol Belski [Fri, 12 Jan 2018 11:20:31 +0000 (12:20 +0100)]
Unify EOL
Anatol Belski [Fri, 12 Jan 2018 11:17:23 +0000 (12:17 +0100)]
Extend test, latest cURL ships also with smb and smbs
Anatol Belski [Thu, 11 Jan 2018 13:28:09 +0000 (14:28 +0100)]
Fix test for libtidy 5.6.0
libtidy 5.6.0 remove the language option from the library, it is only
supported on cli. Prior to that, this option was not used in the
library. Thus, exclude the option presence from test.
Gabriel Caruso [Wed, 10 Jan 2018 21:49:13 +0000 (19:49 -0200)]
Fixed bug #75799 (arg of get_defined_functions is optional)
Nikita Popov [Tue, 9 Jan 2018 19:20:31 +0000 (20:20 +0100)]
Fixed bug #75786
SEND_UNPACK on iterators was duplicating references in-place,
which effectively leaks the original value and causes an off-by-one
refcount on the duplicated value.
Replace this with a deref, as an actual duplication is not even
needed in this case.
Nikita Popov [Sat, 16 Dec 2017 20:11:40 +0000 (21:11 +0100)]
Backport narrowing fix to 7.1
This is a cherry-pick of
8a4532319dfae83ff16b2d2bbfeed062924c3c27 .
Xinchen Hui [Tue, 9 Jan 2018 08:20:19 +0000 (16:20 +0800)]
Fixed bug #75781 (substr_count incorrect result)
Anatol Belski [Thu, 4 Jan 2018 15:08:41 +0000 (16:08 +0100)]
Fix tests
Anatol Belski [Wed, 3 Jan 2018 17:32:33 +0000 (18:32 +0100)]
Skip on Travis-CI
The current doc states max ram for a test VM would be 7.5G, the
currently used container image has even less. This skip should be
revisited, as the available memory amount shifts. The way of checking
/proc/meminfo doesn't work reliably on containers at least, thus
skipping explicitly on Travis-CI makes sense.
Anatol Belski [Wed, 3 Jan 2018 15:54:14 +0000 (16:54 +0100)]
Extend skip section
The test requires some untrivial amount of RAM. Added a simple check for
the system free RAM to avoid false positive fails.
Remi Collet [Wed, 3 Jan 2018 14:13:03 +0000 (15:13 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
2018
Remi Collet [Wed, 3 Jan 2018 14:12:56 +0000 (15:12 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
2018
Remi Collet [Wed, 3 Jan 2018 14:12:39 +0000 (15:12 +0100)]
2018
Remi Collet [Wed, 3 Jan 2018 14:07:18 +0000 (15:07 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
2018
Remi Collet [Wed, 3 Jan 2018 14:07:09 +0000 (15:07 +0100)]
missing changelog entries
Remi Collet [Wed, 3 Jan 2018 14:04:48 +0000 (15:04 +0100)]
2018
Xinchen Hui [Wed, 3 Jan 2018 07:59:05 +0000 (15:59 +0800)]
Merge branch 'PHP-7.1-copyright' of https://github.com/kaplanlior/php-src into PHP-7.1
* 'PHP-7.1-copyright' of https://github.com/kaplanlior/php-src:
Happy new year (Update copyright to 2018)
Ferenc Kovacs [Tue, 2 Jan 2018 23:34:24 +0000 (00:34 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
Ferenc Kovacs [Tue, 2 Jan 2018 23:33:20 +0000 (00:33 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0
Ferenc Kovacs [Tue, 2 Jan 2018 23:30:58 +0000 (00:30 +0100)]
php 5.6.34 is next
Lior Kaplan [Tue, 2 Jan 2018 21:42:29 +0000 (23:42 +0200)]
Happy new year (Update copyright to 2018)
Anatol Belski [Tue, 2 Jan 2018 11:12:46 +0000 (12:12 +0100)]
Skip test for pdo_odbc
The error messages are too discrepant and '-' is otherwise not allowed
by the parser.
Anatol Belski [Tue, 2 Jan 2018 10:34:57 +0000 (11:34 +0100)]
Fix test for pdo_odbc
SqlServer requires parentheses to the TOP argument.
Stanislav Malyshev [Tue, 2 Jan 2018 08:10:27 +0000 (00:10 -0800)]
Fix some int/long confusion issues in GMP
mpz_setbit seems to have limit of INT_MAX * GMP_NUMB_BITS on
the number of bits supported, and will abort() if that limit
is exceeded.
Anatol Belski [Tue, 2 Jan 2018 06:49:53 +0000 (07:49 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
[ci skip] update NEWS
Anatol Belski [Tue, 2 Jan 2018 06:49:09 +0000 (07:49 +0100)]
[ci skip] update NEWS
Xinchen Hui [Tue, 2 Jan 2018 05:54:29 +0000 (13:54 +0800)]
regenerated with newer re2c
Xinchen Hui [Tue, 2 Jan 2018 05:49:58 +0000 (13:49 +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:
Update NEWS
Fixed bug #75571: Potential infinite loop in gdImageCreateFromGifCtx
Fix bug #74782: remove file name from output to avoid XSS
Xinchen Hui [Tue, 2 Jan 2018 04:53:31 +0000 (12:53 +0800)]
year++
Stanislav Malyshev [Tue, 2 Jan 2018 04:52:34 +0000 (20:52 -0800)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Update NEWS
Fixed bug #75571: Potential infinite loop in gdImageCreateFromGifCtx
Fix bug #74782: remove file name from output to avoid XSS
Stanislav Malyshev [Tue, 2 Jan 2018 04:28:01 +0000 (20:28 -0800)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
Update NEWS
Fixed bug #75571: Potential infinite loop in gdImageCreateFromGifCtx
Fix bug #74782: remove file name from output to avoid XSS
Stanislav Malyshev [Tue, 2 Jan 2018 03:53:00 +0000 (19:53 -0800)]
Update NEWS
Christoph M. Becker [Wed, 29 Nov 2017 17:52:33 +0000 (18:52 +0100)]
Fixed bug #75571: Potential infinite loop in gdImageCreateFromGifCtx
Due to a signedness confusion in `GetCode_` a corrupt GIF file can
trigger an infinite loop. Furthermore we make sure that a GIF without
any palette entries is treated as invalid *after* open palette entries
have been removed.
Stanislav Malyshev [Sun, 2 Jul 2017 20:29:37 +0000 (13:29 -0700)]
Fix bug #74782: remove file name from output to avoid XSS
Nikita Popov [Mon, 1 Jan 2018 20:23:10 +0000 (21:23 +0100)]
Fixed bug #75502
The string keys were not duplicated into persistent memory in this
case.
Jakub Zelenka [Sat, 30 Dec 2017 17:34:01 +0000 (17:34 +0000)]
Use seialize_precision instead of precision in all json tests
Dmitry Stogov [Thu, 28 Dec 2017 11:08:12 +0000 (14:08 +0300)]
Fixed bug #75720 (File cache not populated after SHM runs full)
Dmitry Stogov [Thu, 28 Dec 2017 08:19:52 +0000 (11:19 +0300)]
Fixed reference-counting
Xinchen Hui [Wed, 27 Dec 2017 04:51:50 +0000 (12:51 +0800)]
Fixed bug #75735 ([embed SAPI] Segmentation fault in sapi_register_post_entry)
Anatol Belski [Fri, 22 Dec 2017 22:38:04 +0000 (23:38 +0100)]
Revert to Postgres 9.6, AppVeyor seems to have issues with 10
Anatol Belski [Fri, 22 Dec 2017 22:25:24 +0000 (23:25 +0100)]
Update tool path
Anatol Belski [Fri, 22 Dec 2017 22:12:27 +0000 (23:12 +0100)]
Switch AppVeyor to PostgreSQL 10 for tests
Anatol Belski [Fri, 22 Dec 2017 17:59:30 +0000 (18:59 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
[ci skip] update NEWS
Fixed bug #75579 (Interned strings buffer overflow may cause crash)
Anatol Belski [Fri, 22 Dec 2017 17:22:33 +0000 (18:22 +0100)]
[ci skip] update NEWS
Dmitry Stogov [Thu, 21 Dec 2017 20:34:21 +0000 (23:34 +0300)]
Fixed bug #75579 (Interned strings buffer overflow may cause crash)
(cherry picked from commit
37bf8bdc1494abb2ce5cac40e0be80e23682f851 )
Nikita Popov [Fri, 22 Dec 2017 17:11:38 +0000 (18:11 +0100)]
Fixed bug #73209
Nikita Popov [Fri, 22 Dec 2017 17:11:38 +0000 (18:11 +0100)]
Fixed bug #75242
Nikita Popov [Fri, 22 Dec 2017 17:00:17 +0000 (18:00 +0100)]
Fixed bug #75717
Anton Artamonov [Sat, 4 Nov 2017 12:51:33 +0000 (19:51 +0700)]
Fixed bug #70469
Don't generate an E_ERROR if we've already thrown an exception.
This interacts badly with error_get_last() checks.
Anatol Belski [Fri, 22 Dec 2017 15:41:46 +0000 (16:41 +0100)]
Fix wrong return value for fail case in set attribute handler in pdo_odbc
Anatol Belski [Fri, 22 Dec 2017 15:22:12 +0000 (16:22 +0100)]
pdo_odbc has no driver API for quoting, skip the test
Dmitry Stogov [Thu, 21 Dec 2017 20:35:23 +0000 (23:35 +0300)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Fixed bug #75579 (Interned strings buffer overflow may cause crash)
Dmitry Stogov [Thu, 21 Dec 2017 20:34:21 +0000 (23:34 +0300)]
Fixed bug #75579 (Interned strings buffer overflow may cause crash)
Anatol Belski [Thu, 21 Dec 2017 17:37:23 +0000 (18:37 +0100)]
Ensure expected items delivered in same order
Evgeny Kalashnikov [Thu, 21 Dec 2017 12:48:10 +0000 (13:48 +0100)]
Fix segfault. Compile param --with-tsrm-pth=yes
Anatol Belski [Wed, 20 Dec 2017 17:46:56 +0000 (18:46 +0100)]
Templatize driver name in the expected string
David Carlier [Mon, 2 Oct 2017 13:42:58 +0000 (13:42 +0000)]
Move includes in ps_title.c
The HAVE_UNISTD_H check has to be after including config.h.
Also include sys/types.h, which may be needed for setproctitle.
Jelle van der Waa [Fri, 8 Dec 2017 18:19:22 +0000 (19:19 +0100)]
Fix bug #69727: Support SOURCE_DATE_EPOCH for Build Date
When checking for reproducible builds php is build twice, once with the
current date and once with a date in the future. To keep the build date
supported and reproducible builds possible, SOURCE_DATE_EPOCH is
introduced which can be set to the same epoch value for both builds.
Anatol Belski [Fri, 15 Dec 2017 15:25:36 +0000 (16:25 +0100)]
[ci skip] update NEWS
Anatol Belski [Fri, 15 Dec 2017 14:33:14 +0000 (15:33 +0100)]
Fixed bug #75671 pg_version() crashes when called on a connection to cockroach