]>
granicus.if.org Git - php/log
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
Anatol Belski [Fri, 27 Oct 2017 11:16:56 +0000 (13:16 +0200)]
Backport and apply upstream patch for CVE-2017-14107
Ferenc Kovacs [Wed, 25 Oct 2017 01:36:30 +0000 (03:36 +0200)]
5.6.33 is next
Rasmus Lerdorf [Sat, 10 Jan 2015 01:24:48 +0000 (17:24 -0800)]
These tests all assume that IPV6 is available.
Ferenc Kovacs [Tue, 24 Oct 2017 23:51:48 +0000 (01:51 +0200)]
fix the travis build for PHP-5.6 using precise instead of trusty
Ferenc Kovacs [Tue, 24 Oct 2017 23:47:21 +0000 (01:47 +0200)]
fix the travis build for PHP-5.6 using precise instead of trusty
Anatol Belski [Tue, 24 Oct 2017 16:33:21 +0000 (18:33 +0200)]
Parametrize the expected value to avoid platform false positives
Anatol Belski [Tue, 24 Oct 2017 12:16:54 +0000 (14:16 +0200)]
[ci skip] update NEWS
Anatol Belski [Tue, 24 Oct 2017 11:59:18 +0000 (13:59 +0200)]
Fixed bug #72535 arcfour encryption stream filter crashes php
Anatol Belski [Tue, 24 Oct 2017 09:28:17 +0000 (11:28 +0200)]
Fixed bug #75055 Out-Of-Bounds Read in timelib_meridian()
Anatol Belski [Thu, 28 Sep 2017 13:40:49 +0000 (15:40 +0200)]
Apply upstream patch for CVE-2016-1283
Fix bug #75207, see also
https://bugzilla.redhat.com/show_bug.cgi?id=
1295385
https://vcs.pcre.org/pcre?view=revision&revision=1636
(cherry picked from commit
d11fceab151cd0410645f81eb7444af4388470c3 )
Ferenc Kovacs [Wed, 5 Jul 2017 22:10:07 +0000 (00:10 +0200)]
add missing NEWS entry for #74087 and also fix the formatting
Ferenc Kovacs [Wed, 5 Jul 2017 22:05:14 +0000 (00:05 +0200)]
move NEWS entry to the correct place, also bump the version
Remi Collet [Wed, 5 Jul 2017 07:26:55 +0000 (09:26 +0200)]
NEWS for oniguruma
Remi Collet [Tue, 30 May 2017 13:40:32 +0000 (15:40 +0200)]
Patch from the upstream git
https://github.com/kkos/oniguruma/issues/60 (CVE-2017-9228)
Thanks to Mamoru TASAKA <mtasaka@fedoraproject.org>
Remi Collet [Tue, 30 May 2017 13:39:21 +0000 (15:39 +0200)]
Patch from the upstream git
https://github.com/kkos/oniguruma/issues/59 (CVE-2017-9229)
b690371bbf97794b4a1d3f295d4fb9a8b05d402d Modified for onig 5.9.6
Thanks to Mamoru TASAKA <mtasaka@fedoraproject.org>
Remi Collet [Tue, 30 May 2017 13:38:17 +0000 (15:38 +0200)]
Patch from the upstream git
https://github.com/kkos/oniguruma/issues/58 (CVE-2017-9227)
Thanks to Mamoru TASAKA <mtasaka@fedoraproject.org>
Remi Collet [Tue, 30 May 2017 13:37:11 +0000 (15:37 +0200)]
Patch from the upstream git
https://github.com/kkos/oniguruma/issues/57 (CVE-2017-9224)
Thanks to Mamoru TASAKA <mtasaka@fedoraproject.org>
Remi Collet [Tue, 30 May 2017 13:35:42 +0000 (15:35 +0200)]
Patch from the upstream git
https://github.com/kkos/oniguruma/issues/55 (CVE-2017-9226)
b4bf968ad52afe14e60a2dc8a95d3555c543353a Modified for onig 5.9.6
f015fbdd95f76438cd86366467bb2b39870dd7c6 Modified for onig 5.9.6
Thanks to Mamoru TASAKA <mtasaka@fedoraproject.org>
Stanislav Malyshev [Wed, 5 Jul 2017 04:10:08 +0000 (21:10 -0700)]
Improve fix for #74145
Stanislav Malyshev [Wed, 5 Jul 2017 03:12:57 +0000 (20:12 -0700)]
Fix tests
Stanislav Malyshev [Wed, 5 Jul 2017 02:30:29 +0000 (19:30 -0700)]
Update NEWS
Stanislav Malyshev [Wed, 5 Jul 2017 02:21:28 +0000 (19:21 -0700)]
Fix bug #74087
Ported from https://vcs.pcre.org/pcre/code/trunk/pcre_jit_compile.c?r1=1676&r2=1680&view=patch
Derick Rethans [Mon, 3 Jul 2017 11:37:11 +0000 (12:37 +0100)]
Fixed parsing of strange formats with mixed month/day and time strings
Stanislav Malyshev [Sun, 2 Jul 2017 21:25:54 +0000 (14:25 -0700)]
Fix bug #74145 - wddx parsing empty boolean tag leads to SIGSEGV
Nikita Popov [Sun, 25 Jun 2017 19:15:26 +0000 (21:15 +0200)]
Fixed bug #74111
Christoph M. Becker [Tue, 20 Jun 2017 14:45:42 +0000 (16:45 +0200)]
Fix #74435: Buffer over-read into uninitialized memory
The stack allocated color map buffers were not zeroed before usage, and
so undefined palette indexes could cause information leakage.
Stanislav Malyshev [Tue, 20 Jun 2017 07:09:01 +0000 (00:09 -0700)]
Fix bug #74603 - use correct buffer size
Stanislav Malyshev [Tue, 20 Jun 2017 06:06:24 +0000 (23:06 -0700)]
Fix bug #74651 - check EVP_SealInit as it can return -1
Stanislav Malyshev [Sun, 25 Jun 2017 06:32:59 +0000 (23:32 -0700)]
Update NEWS
Nikita Popov [Thu, 2 Feb 2017 15:04:02 +0000 (16:04 +0100)]
Fix bug #73807
Remi Collet [Wed, 1 Feb 2017 09:25:30 +0000 (10:25 +0100)]
fix test for 32bits (int -> float)
(cherry picked from commit
0f1ae93bfa2feb3d0fd0b8d3036148df8ef856e2 )
Ferenc Kovacs [Thu, 19 Jan 2017 00:16:31 +0000 (01:16 +0100)]
update NEWS
Christoph M. Becker [Sat, 17 Dec 2016 16:06:58 +0000 (17:06 +0100)]
Fix #73869: Signed Integer Overflow gd_io.c
GD2 stores the number of horizontal and vertical chunks as words (i.e. 2
byte unsigned). These values are multiplied and assigned to an int when
reading the image, what can cause integer overflows. We have to avoid
that, and also make sure that either chunk count is actually greater
than zero. If illegal chunk counts are detected, we bail out from
reading the image.
(cherry picked from commit
5b5d9db3988b829e0b121b74bb3947f01c2796a1 )
Christoph M. Becker [Tue, 16 Aug 2016 16:23:36 +0000 (18:23 +0200)]
Fix #73868: DOS vulnerability in gdImageCreateFromGd2Ctx()
We must not pretend that there are image data if there are none. Instead
we fail reading the image file gracefully.
(cherry picked from commit
cdb648dc4115ce0722f3cc75e6a65115fc0e56ab )
Nikita Popov [Mon, 16 Jan 2017 12:24:13 +0000 (13:24 +0100)]
Add additional serialize tests for fixed bugs
These have been fixed as a side-effect of the delayed __wakeup
patch.
Stanislav Malyshev [Mon, 16 Jan 2017 08:23:06 +0000 (00:23 -0800)]
Fix typo
Stanislav Malyshev [Mon, 16 Jan 2017 02:42:22 +0000 (18:42 -0800)]
Fix test
Stanislav Malyshev [Mon, 16 Jan 2017 01:31:08 +0000 (17:31 -0800)]
Update more functions with path check
Mitch Hagstrand [Tue, 10 Jan 2017 19:51:55 +0000 (11:51 -0800)]
Fix glob-wrapper.phpt to not fail in Windows
Sara Golemon [Mon, 9 Jan 2017 19:02:50 +0000 (11:02 -0800)]
Fix open_basedir check for glob:// opendir wrapper
php_check_open_basedir() expects a local filesystem path,
but we're handing it a `glob://...` URI instead.
Move the check to after the path trim so that we're checking
a meaningful pathspec.
Remi Collet [Fri, 6 Jan 2017 05:23:59 +0000 (06:23 +0100)]
add skip when json not loaded
Ferenc Kovacs [Fri, 6 Jan 2017 00:43:11 +0000 (01:43 +0100)]
5.6.31 is next
Nikita Popov [Thu, 5 Jan 2017 10:37:06 +0000 (11:37 +0100)]
Fix printf modifier
Nikita Popov [Wed, 4 Jan 2017 23:20:56 +0000 (00:20 +0100)]
Add tests for delayed __wakeup()
Nikita Popov [Wed, 4 Jan 2017 23:19:26 +0000 (00:19 +0100)]
Implement delayed __wakeup
Stanislav Malyshev [Tue, 3 Jan 2017 04:56:32 +0000 (20:56 -0800)]
Merge branch 'PHP-5.6.30' into PHP-5.6
* PHP-5.6.30:
Fix bug #73737 FPE when parsing a tag format
Fix bug #73773 - Seg fault when loading hostile phar
Fix bug #73825 - Heap out of bounds read on unserialize in finish_nested_data()
Fix bug #73768 - Memory corruption when loading hostile phar
Fix int overflows in phar (bug #73764)
Nikita Popov [Sun, 1 Jan 2017 13:10:49 +0000 (14:10 +0100)]
FIx bug #70213
Stanislav Malyshev [Sun, 1 Jan 2017 03:31:49 +0000 (19:31 -0800)]
Fix bug #73737 FPE when parsing a tag format
Stanislav Malyshev [Sun, 1 Jan 2017 02:47:50 +0000 (18:47 -0800)]
Fix bug #73773 - Seg fault when loading hostile phar
Stanislav Malyshev [Sat, 31 Dec 2016 00:59:46 +0000 (16:59 -0800)]
Fix bug #73825 - Heap out of bounds read on unserialize in finish_nested_data()
Stanislav Malyshev [Fri, 30 Dec 2016 23:57:24 +0000 (15:57 -0800)]
Fix bug #73768 - Memory corruption when loading hostile phar
Stanislav Malyshev [Fri, 30 Dec 2016 23:34:46 +0000 (15:34 -0800)]
Fix int overflows in phar (bug #73764)
Christoph M. Becker [Thu, 29 Dec 2016 11:41:39 +0000 (12:41 +0100)]
Revert "Fix #73530: Unsetting result set may reset other result set"
This reverts commit
eb570294a289b45d0dd38efc71065d6b0d314c4b .
That commit caused a regression, so it's probably best to revert it, and
to tackle the issue for the next minor release.
Anatol Belski [Sat, 17 Dec 2016 19:43:32 +0000 (20:43 +0100)]
fix C89 compat
Matteo Beccati [Thu, 15 Dec 2016 08:31:00 +0000 (09:31 +0100)]
Skip tests when secure_file_priv dir not writable
Ferenc Kovacs [Thu, 8 Dec 2016 06:05:32 +0000 (07:05 +0100)]
update NEWS
Anatol Belski [Tue, 6 Dec 2016 15:12:39 +0000 (16:12 +0100)]
fix leak, take 2
Anatol Belski [Tue, 6 Dec 2016 13:34:27 +0000 (14:34 +0100)]
fix leak, take on 5.6
Stanislav Malyshev [Tue, 6 Dec 2016 06:32:59 +0000 (22:32 -0800)]
This still leaks memory, I don't have enough knowledge in WDDX code to fix them :(
Stanislav Malyshev [Tue, 6 Dec 2016 05:40:55 +0000 (21:40 -0800)]
Fix bug #73631 - Invalid read when wddx decodes empty boolean element
Adrien Crivelli [Wed, 30 Nov 2016 09:19:35 +0000 (18:19 +0900)]
Fix minor typo
Dmitry Stogov [Thu, 1 Dec 2016 12:46:52 +0000 (15:46 +0300)]
Workaround for GCC-4.9.2 bug
Stanislav Malyshev [Mon, 28 Nov 2016 00:11:41 +0000 (16:11 -0800)]
oops, changed in wrong place
Stanislav Malyshev [Sun, 27 Nov 2016 23:38:09 +0000 (15:38 -0800)]
add NEWS
Stanislav Malyshev [Sun, 27 Nov 2016 23:11:17 +0000 (15:11 -0800)]
Merge branch 'pull-request/1974' into PHP-5.6
* pull-request/1974:
Fix #68447: grapheme_extract take an extra trailing character
Christoph M. Becker [Thu, 17 Nov 2016 12:44:30 +0000 (13:44 +0100)]
Fix #73549: Use after free when stream is passed to imagepng
If a stream is passed to imagepng() or other image output functions,
opposed to a filename, we must not close this stream.
Matteo Beccati [Sun, 27 Nov 2016 09:20:13 +0000 (10:20 +0100)]
Fix occasionaly failing test
Matteo Beccati [Sun, 27 Nov 2016 09:07:05 +0000 (10:07 +0100)]
Added missing array key to $JUNIT
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)
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.
Derick Rethans [Thu, 24 Nov 2016 10:40:11 +0000 (10:40 +0000)]
Updated to version 2016.10 (2016j)
Ferenc Kovacs [Thu, 24 Nov 2016 00:54:23 +0000 (01:54 +0100)]
5.6.30 will be next
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:36:51 +0000 (12:36 +0100)]
update libs versions.txt
Anatol Belski [Mon, 21 Nov 2016 23:57:18 +0000 (00:57 +0100)]
update NEWS
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 21:52:03 +0000 (22:52 +0100)]
update php.ini-* according to changes for bug #69090
Anatol Belski [Mon, 21 Nov 2016 18:56:09 +0000 (19:56 +0100)]
update NEWS
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)]
Mitch Hagstrand [Fri, 11 Nov 2016 23:40:30 +0000 (15:40 -0800)]
Fix the lchwon error test for Travis CI.
The E_WARNING message from the PHP function lchown is passed
from the system function lchown. The error message returned
from lchown can be filesystem dependent.
Christoph M. Becker [Fri, 18 Nov 2016 13:17:19 +0000 (14:17 +0100)]
Fix #64526: Add missing mysqlnd.* parameters to php.ini-*
Dmitry Stogov [Thu, 17 Nov 2016 12:57:40 +0000 (15:57 +0300)]
Fixed test
Julien Pauli [Thu, 17 Nov 2016 10:37:13 +0000 (11:37 +0100)]
Updated NEWS
Julien Pauli [Thu, 17 Nov 2016 10:33:36 +0000 (11:33 +0100)]
Improvement for bug73297
Rowan Collins [Mon, 24 Oct 2016 18:01:17 +0000 (18:01 +0000)]
Simplify ext/standard/tests/http/bug73297.phpt
Rowan Collins [Sun, 23 Oct 2016 18:24:58 +0000 (18:24 +0000)]
http_fopen_wrapper.c - bug#73297 Skip past "100 Continue" responses
Rowan Collins [Tue, 11 Oct 2016 21:12:18 +0000 (21:12 +0000)]
Add failing test for bug#73297
Dmitry Stogov [Wed, 16 Nov 2016 22:08:42 +0000 (01:08 +0300)]
Accorate handling of too big inodes of chroot directories
Dmitry Stogov [Wed, 16 Nov 2016 20:15:14 +0000 (23:15 +0300)]
"opcache.validate_root" is useless on Windows
Dmitry Stogov [Wed, 16 Nov 2016 20:01:40 +0000 (23:01 +0300)]
Use full path
Dmitry Stogov [Wed, 16 Nov 2016 13:43:57 +0000 (16:43 +0300)]
Fixed ZTS build
Christoph M. Becker [Wed, 16 Nov 2016 10:49:04 +0000 (11:49 +0100)]
Fix #73530: Unsetting result set may reset other result set
Calling sqlite3_reset() when a result set object is freed can cause
undesired and maybe even hard to track interference with other result
sets. Furthermore, there is no need to call sqlite3_reset(), because
that is implicitly called on SQLite3Stmt::execute(), and users are
encouraged to explicitly call either SQLite3Result::finalize() or
SQLite3Stmt::reset() anyway.
Dmitry Stogov [Wed, 16 Nov 2016 09:43:10 +0000 (12:43 +0300)]
Fixed bug #69090 (check cached files permissions)