]>
granicus.if.org Git - php/log
Stanislav Malyshev [Tue, 21 Jun 2016 07:24:32 +0000 (00:24 -0700)]
Merge branch 'PHP-5.6.23' into PHP-7.0.8
* PHP-5.6.23: (24 commits)
iFixed bug #72446 - Integer Overflow in gdImagePaletteToTrueColor() resulting in heap overflow
update NEWS
fix tests
fix build
Fix bug #72455: Heap Overflow due to integer overflows
Fix bug #72434: ZipArchive class Use After Free Vulnerability in PHP's GC algorithm and unserialize
Fixed ##72433: Use After Free Vulnerability in PHP's GC algorithm and unserialize
Fix bug #72407: NULL Pointer Dereference at _gdScaleVert
Fix bug #72402: _php_mb_regex_ereg_replace_exec - double free
Fix bug #72298 pass2_no_dither out-of-bounds access
Fixed #72339 Integer Overflow in _gd2GetHeader() resulting in heap overflow
Fix bug #72262 - do not overflow int
Fix bug #72400 and #72403 - prevent signed int overflows for string lengths
Fix bug #72275: don't allow smart_str to overflow int
Fix bug #72340: Double Free Courruption in wddx_deserialize
update NEWS
Fix #66387: Stack overflow with imagefilltoborder
Fix bug #72321 - use efree() for emalloc allocation
5.6.23RC1
Fix bug #72140 (segfault after calling ERR_free_strings())
...
Conflicts:
configure.in
ext/mbstring/php_mbregex.c
ext/mcrypt/mcrypt.c
ext/spl/spl_array.c
ext/spl/spl_directory.c
ext/standard/php_smart_str.h
ext/standard/string.c
ext/standard/url.c
ext/wddx/wddx.c
ext/zip/php_zip.c
main/php_version.h
Stanislav Malyshev [Tue, 21 Jun 2016 07:01:48 +0000 (00:01 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6.23
* PHP-5.5:
Fixed bug #72446 - Integer Overflow in gdImagePaletteToTrueColor() resulting in heap overflow
update NEWS
fix tests
fix build
Fix bug #72455: Heap Overflow due to integer overflows
Fix bug #72434: ZipArchive class Use After Free Vulnerability in PHP's GC algorithm and unserialize
Fixed ##72433: Use After Free Vulnerability in PHP's GC algorithm and unserialize
Fix bug #72407: NULL Pointer Dereference at _gdScaleVert
Fix bug #72402: _php_mb_regex_ereg_replace_exec - double free
Fix bug #72298 pass2_no_dither out-of-bounds access
Fixed #72339 Integer Overflow in _gd2GetHeader() resulting in heap overflow
Fix bug #72262 - do not overflow int
Fix bug #72400 and #72403 - prevent signed int overflows for string lengths
Fix bug #72275: don't allow smart_str to overflow int
Fix bug #72340: Double Free Courruption in wddx_deserialize
update NEWS
Fix #66387: Stack overflow with imagefilltoborder
Skip test which is 64bits only
5.5.37 now
Conflicts:
configure.in
ext/mcrypt/mcrypt.c
ext/spl/spl_directory.c
main/php_version.h
Stanislav Malyshev [Tue, 21 Jun 2016 06:58:26 +0000 (23:58 -0700)]
iFixed bug #72446 - Integer Overflow in gdImagePaletteToTrueColor() resulting in heap overflow
Stanislav Malyshev [Tue, 21 Jun 2016 06:45:37 +0000 (23:45 -0700)]
update NEWS
Stanislav Malyshev [Tue, 21 Jun 2016 06:31:54 +0000 (23:31 -0700)]
Merge branch 'PHP-5.5.37' into PHP-5.5
* PHP-5.5.37:
fix tests
fix build
Fix bug #72455: Heap Overflow due to integer overflows
Fix bug #72434: ZipArchive class Use After Free Vulnerability in PHP's GC algorithm and unserialize
Fixed ##72433: Use After Free Vulnerability in PHP's GC algorithm and unserialize
Fix bug #72407: NULL Pointer Dereference at _gdScaleVert
Fix bug #72402: _php_mb_regex_ereg_replace_exec - double free
Fix bug #72298 pass2_no_dither out-of-bounds access
Fixed #72339 Integer Overflow in _gd2GetHeader() resulting in heap overflow
Fix bug #72262 - do not overflow int
Fix bug #72400 and #72403 - prevent signed int overflows for string lengths
Fix bug #72275: don't allow smart_str to overflow int
Fix bug #72340: Double Free Courruption in wddx_deserialize
Stanislav Malyshev [Tue, 21 Jun 2016 05:54:55 +0000 (22:54 -0700)]
fix tests
Stanislav Malyshev [Tue, 21 Jun 2016 05:13:31 +0000 (22:13 -0700)]
fix build
Stanislav Malyshev [Tue, 21 Jun 2016 04:51:42 +0000 (21:51 -0700)]
Fix bug #72455: Heap Overflow due to integer overflows
Stanislav Malyshev [Tue, 21 Jun 2016 04:35:22 +0000 (21:35 -0700)]
Fix bug #72434: ZipArchive class Use After Free Vulnerability in PHP's GC algorithm and unserialize
Stanislav Malyshev [Tue, 21 Jun 2016 04:26:33 +0000 (21:26 -0700)]
Fixed ##72433: Use After Free Vulnerability in PHP's GC algorithm and unserialize
Stanislav Malyshev [Sun, 19 Jun 2016 04:57:25 +0000 (21:57 -0700)]
Fix bug #72407: NULL Pointer Dereference at _gdScaleVert
Stanislav Malyshev [Sun, 19 Jun 2016 04:48:39 +0000 (21:48 -0700)]
Fix bug #72402: _php_mb_regex_ereg_replace_exec - double free
Stanislav Malyshev [Sun, 19 Jun 2016 04:04:33 +0000 (21:04 -0700)]
Fix bug #72298 pass2_no_dither out-of-bounds access
Pierre Joye [Sat, 18 Jun 2016 18:15:10 +0000 (20:15 +0200)]
Fixed #72339 Integer Overflow in _gd2GetHeader() resulting in heap overflow
Stanislav Malyshev [Thu, 16 Jun 2016 04:58:26 +0000 (21:58 -0700)]
Fix bug #72262 - do not overflow int
Stanislav Malyshev [Thu, 16 Jun 2016 04:46:46 +0000 (21:46 -0700)]
Fix bug #72400 and #72403 - prevent signed int overflows for string lengths
Stanislav Malyshev [Tue, 14 Jun 2016 06:12:47 +0000 (23:12 -0700)]
Fix bug #72275: don't allow smart_str to overflow int
Stanislav Malyshev [Mon, 13 Jun 2016 06:18:23 +0000 (23:18 -0700)]
Fix bug #72340: Double Free Courruption in wddx_deserialize
Anatol Belski [Mon, 13 Jun 2016 06:12:22 +0000 (08:12 +0200)]
update NEWS
Christoph M. Becker [Mon, 20 Jul 2015 21:24:55 +0000 (23:24 +0200)]
Fix #66387: Stack overflow with imagefilltoborder
The stack overflow is caused by the recursive algorithm in combination with a
very large negative coordinate passed to gdImageFillToBorder(). As there is
already a clipping for large positive coordinates to the width and height of
the image, it seems to be consequent to clip to zero also.
Stanislav Malyshev [Sun, 12 Jun 2016 23:43:12 +0000 (16:43 -0700)]
Fix bug #72321 - use efree() for emalloc allocation
Ferenc Kovacs [Thu, 9 Jun 2016 08:54:35 +0000 (10:54 +0200)]
5.6.23RC1
Jakub Zelenka [Wed, 8 Jun 2016 17:21:39 +0000 (18:21 +0100)]
Fix bug #72140 (segfault after calling ERR_free_strings())
Pierre Joye [Wed, 8 Jun 2016 04:06:48 +0000 (11:06 +0700)]
prevent invalid color index (palette only), may lead to crash
Lior Kaplan [Tue, 7 Jun 2016 18:45:24 +0000 (21:45 +0300)]
Add CVE to #66387
Anatol Belski [Tue, 7 Jun 2016 16:53:18 +0000 (18:53 +0200)]
fix NEWS
Anatol Belski [Tue, 7 Jun 2016 16:51:34 +0000 (18:51 +0200)]
Merge branch 'PHP-7.0' into PHP-7.0.8
* PHP-7.0:
fix NEWS
add missing NEWS entry
update NEWS
#72337 invalid dimensions can lead to segv
7.0.9 next
Conflicts:
configure.in
main/php_version.h
Anatol Belski [Tue, 7 Jun 2016 16:44:40 +0000 (18:44 +0200)]
fix NEWS
Anatol Belski [Tue, 7 Jun 2016 16:42:55 +0000 (18:42 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
add missing NEWS entry
Anatol Belski [Tue, 7 Jun 2016 16:41:17 +0000 (18:41 +0200)]
add missing NEWS entry
Pierre Joye [Tue, 7 Jun 2016 10:40:55 +0000 (17:40 +0700)]
update NEWS
Pierre Joye [Tue, 7 Jun 2016 10:38:41 +0000 (17:38 +0700)]
Merge branch 'PHP-7.0' of git.php.net:php-src into PHP-7.0
Pierre Joye [Tue, 7 Jun 2016 10:18:14 +0000 (17:18 +0700)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
#72337 invalid dimensions can lead to segv
Pierre Joye [Tue, 7 Jun 2016 10:16:40 +0000 (17:16 +0700)]
#72337 invalid dimensions can lead to segv
Anatol Belski [Tue, 7 Jun 2016 08:10:16 +0000 (10:10 +0200)]
set versions
Anatol Belski [Tue, 7 Jun 2016 08:04:25 +0000 (10:04 +0200)]
7.0.9 next
Anatol Belski [Mon, 6 Jun 2016 19:07:45 +0000 (21:07 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
Add test for bug #53735
Anatol Belski [Mon, 6 Jun 2016 19:06:06 +0000 (21:06 +0200)]
Add test for bug #53735
Anatol Belski [Mon, 6 Jun 2016 11:30:17 +0000 (13:30 +0200)]
fix ibase handle initialization, mostly compiler warnings
Anatol Belski [Mon, 6 Jun 2016 06:58:08 +0000 (08:58 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
fix typo
Anatol Belski [Mon, 6 Jun 2016 06:56:40 +0000 (08:56 +0200)]
fix typo
Anatol Belski [Mon, 6 Jun 2016 06:21:39 +0000 (08:21 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
fix broken skipif and add xfail for now
Anatol Belski [Mon, 6 Jun 2016 06:20:01 +0000 (08:20 +0200)]
fix broken skipif and add xfail for now
Anatol Belski [Mon, 6 Jun 2016 05:33:36 +0000 (07:33 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
missing return
Anatol Belski [Mon, 6 Jun 2016 05:27:45 +0000 (07:27 +0200)]
missing return
Jakub Zelenka [Sun, 5 Jun 2016 16:30:03 +0000 (17:30 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0
Jakub Zelenka [Sun, 5 Jun 2016 16:27:47 +0000 (17:27 +0100)]
Add new test for openssl_pkey_new
Jakub Zelenka [Sun, 5 Jun 2016 16:23:05 +0000 (17:23 +0100)]
Add test for openssl_error_string
This test is important for making sure that the error strings
from OpenSSL works as expected and we can safely add a fix
for storing the strings that is prepared.
Jakub Zelenka [Sun, 5 Jun 2016 15:28:50 +0000 (16:28 +0100)]
Remove openssl_x509_parse for OpenSSL 0.9.x
The test is unstable and it actually fails with latest 0.9.8
Anatol Belski [Thu, 2 Jun 2016 10:20:46 +0000 (12:20 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
update NEWS
Fixed bug #70484 selectordinal doesn't work with named parameters
Anatol Belski [Thu, 2 Jun 2016 10:18:33 +0000 (12:18 +0200)]
update NEWS
Anatol Belski [Mon, 11 Apr 2016 13:00:58 +0000 (15:00 +0200)]
Fixed bug #70484 selectordinal doesn't work with named parameters
Anatol Belski [Thu, 2 Jun 2016 10:07:54 +0000 (12:07 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
Fix ODBC bug for varchars returning with length zero
Elizabeth Marie Smith [Thu, 14 Jan 2016 12:19:20 +0000 (13:19 +0100)]
Fix ODBC bug for varchars returning with length zero
Xinchen Hui [Thu, 2 Jun 2016 06:16:32 +0000 (14:16 +0800)]
Fixed bug #72308 (fastcgi_finish_request and logging environment variables)
Anatol Belski [Wed, 1 Jun 2016 12:08:32 +0000 (14:08 +0200)]
update NEWS
Anatol Belski [Wed, 1 Jun 2016 09:52:46 +0000 (11:52 +0200)]
Add test for bug #72294
Anatol Belski [Wed, 1 Jun 2016 09:35:35 +0000 (11:35 +0200)]
Fixed bug #72294 Segmentation fault/invalid pointer in connection with pgsql_stmt_dtor
Xinchen Hui [Wed, 1 Jun 2016 02:46:04 +0000 (10:46 +0800)]
Also include ini_get
Xinchen Hui [Wed, 1 Jun 2016 02:43:53 +0000 (10:43 +0800)]
Forgotten test script for bug #72300
Anatol Belski [Tue, 31 May 2016 16:42:40 +0000 (18:42 +0200)]
fix test portability
Xinchen Hui [Tue, 31 May 2016 14:24:02 +0000 (07:24 -0700)]
Fixed bug #72300 (ignore_user_abort(false) has no effect)
Xinchen Hui [Tue, 31 May 2016 09:22:47 +0000 (17:22 +0800)]
No sure why this is failed in travis
Xinchen Hui [Tue, 31 May 2016 08:54:38 +0000 (16:54 +0800)]
Fixed test (keyword is local related)
Xinchen Hui [Tue, 31 May 2016 08:48:19 +0000 (16:48 +0800)]
Attempt to fix tests fails
Xinchen Hui [Tue, 31 May 2016 03:44:20 +0000 (11:44 +0800)]
Re-Fixed bug #72155 (use-after-free caused by get_zval_xmlrpc_type)
Xinchen Hui [Tue, 31 May 2016 03:32:09 +0000 (11:32 +0800)]
Revert "fix #72155 (use-after-free caused by get_zval_xmlrpc_type)"
This reverts commit
1690dcb827e2b50eb575b1c6acadab0b8f248723 .
Anatol Belski [Mon, 30 May 2016 16:32:39 +0000 (18:32 +0200)]
fix condition
Anatol Belski [Mon, 30 May 2016 12:10:27 +0000 (14:10 +0200)]
update NEWS
Bob Weinand [Tue, 3 May 2016 11:36:21 +0000 (13:36 +0200)]
Fixed bug #72284 (phpdbg fatal errors with coverage)
Cherry-pick of original commits d3371b and
0f20e11 only present in master
Anatol Belski [Mon, 30 May 2016 10:48:00 +0000 (12:48 +0200)]
fix test title
Anatol Belski [Mon, 30 May 2016 10:47:04 +0000 (12:47 +0200)]
Add test for bug #72258
Anatol Belski [Mon, 30 May 2016 08:31:04 +0000 (10:31 +0200)]
update UPGRADING
Anatol Belski [Mon, 30 May 2016 08:16:12 +0000 (10:16 +0200)]
Expose missing flags from libzip at least >= 0.11.x
These are helpful with reading/writing zips containing non UTF-8
filenames to mitigate possibly changed libzip behaviors.
Partial cherry-pick of
893c2405ff34250ffefbbc1d223de4df6c154c8a
Joe Watkins [Mon, 30 May 2016 07:56:50 +0000 (08:56 +0100)]
fix #72155 (use-after-free caused by get_zval_xmlrpc_type)
Joe Watkins [Sun, 29 May 2016 05:02:38 +0000 (06:02 +0100)]
This is exported at implementation site, but no forward declaration can cause compile warnings
Nikita Popov [Sat, 28 May 2016 11:13:11 +0000 (13:13 +0200)]
Forbid "yield from" in force closed generators
Same check we do for "yield", was missed when "yield from" was
added. We could make this more granular by only forbidding to
actually yield values and still allow something like "yield from []",
but this does not seem worthwhile.
Xinchen Hui [Sat, 28 May 2016 08:12:10 +0000 (16:12 +0800)]
Added NEWS Entry
Lauri Kenttä [Tue, 24 May 2016 14:33:44 +0000 (17:33 +0300)]
Test for bug #72221, segfault in zend_memnstr_ex
Lauri Kenttä [Sat, 21 May 2016 15:46:00 +0000 (18:46 +0300)]
Fix bug #72221 (segfault, past-the-end access)
Ferenc Kovacs [Thu, 26 May 2016 01:05:52 +0000 (03:05 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
update NEWS
Ferenc Kovacs [Thu, 26 May 2016 01:05:06 +0000 (03:05 +0200)]
update NEWS
Adam Harvey [Wed, 25 May 2016 17:47:49 +0000 (12:47 -0500)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
Fix typo in phpdbg help.
Adam Harvey [Wed, 25 May 2016 17:47:16 +0000 (12:47 -0500)]
Fix typo in phpdbg help.
Sorry, I would have included this in the last push had I spotted it a
minute earlier.
Adam Harvey [Wed, 25 May 2016 17:40:23 +0000 (12:40 -0500)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
Add missing newlines to phpdbg's help for the run command.
Adam Harvey [Wed, 25 May 2016 17:38:41 +0000 (12:38 -0500)]
Add missing newlines to phpdbg's help for the run command.
This is not at all related to needing screenshots for a talk I'm giving
in two days. No sir. Not at all.
Remi Collet [Wed, 25 May 2016 14:17:12 +0000 (16:17 +0200)]
Skip test which is 64bits only
Diff from test output
001+ Warning: fread(): Length parameter must be greater than 0 in ...
001- Warning: fread(): Length parameter must be no more than
2147483647 in ...
Remi Collet [Wed, 25 May 2016 14:19:52 +0000 (16:19 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
Skip test which is 64bits only
Remi Collet [Wed, 25 May 2016 14:17:12 +0000 (16:17 +0200)]
Skip test which is 64bits only
Diff from test output
001+ Warning: fread(): Length parameter must be greater than 0 in ...
001- Warning: fread(): Length parameter must be no more than
2147483647 in ...
Julien Pauli [Wed, 25 May 2016 09:37:58 +0000 (11:37 +0200)]
5.5.37 now
Anatol Belski [Wed, 25 May 2016 09:30:00 +0000 (11:30 +0200)]
update NEWS
Anatol Belski [Wed, 25 May 2016 09:21:16 +0000 (11:21 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
fix test portability
Anatol Belski [Wed, 25 May 2016 09:19:19 +0000 (11:19 +0200)]
fix test portability
Anatol Belski [Wed, 25 May 2016 09:15:39 +0000 (11:15 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
prepare for 5.6.22RC1
Stanislav Malyshev [Wed, 25 May 2016 03:51:52 +0000 (20:51 -0700)]
Merge branch 'PHP-7.0.7' into PHP-7.0
* PHP-7.0.7:
Fix memory leak in imagescale()
Update NEWS
Better fix for bug #72135
Fixed bug #72227: imagescale out-of-bounds read
Fix bug #72241: get_icu_value_internal out-of-bounds read
Fix bug #72135 - don't create strings with lengths outside int range
set versions
Add check for string overflow to all string add operations
Fix bug #72114 - int/size_t confusion in fread
Updated NEWS
Fixed bug #71331 - Uninitialized pointer in phar_make_dirstream()
Conflicts:
configure.in
main/php_version.h
Stanislav Malyshev [Wed, 25 May 2016 00:58:37 +0000 (17:58 -0700)]
Merge branch 'PHP-5.5' into PHP-7.0.7
* PHP-5.5:
Fix memory leak in imagescale()
Update NEWS
Better fix for bug #72135
Fixed bug #72227: imagescale out-of-bounds read
Fix bug #72241: get_icu_value_internal out-of-bounds read
Fix bug #72135 - don't create strings with lengths outside int range
Add check for string overflow to all string add operations
Fix bug #72114 - int/size_t confusion in fread
Updated NEWS
Fixed bug #71331 - Uninitialized pointer in phar_make_dirstream()
Conflicts:
Zend/zend_operators.c
ext/intl/locale/locale_methods.c
ext/phar/dirstream.c
ext/phar/tests/bug71331.phpt
ext/standard/file.c
ext/standard/html.c
Stanislav Malyshev [Wed, 25 May 2016 00:21:22 +0000 (17:21 -0700)]
Merge branch 'PHP-5.6.22' into PHP-5.6
* PHP-5.6.22:
Fix memory leak in imagescale()
Update NEWS
Better fix for bug #72135
Fixed bug #72227: imagescale out-of-bounds read
Fix bug #72241: get_icu_value_internal out-of-bounds read
Fix bug #72135 - don't create strings with lengths outside int range
prepare for 5.6.22RC1
Add check for string overflow to all string add operations
Fix bug #72114 - int/size_t confusion in fread
Updated NEWS
Fixed bug #71331 - Uninitialized pointer in phar_make_dirstream()
Conflicts:
configure.in
main/php_version.h
Stanislav Malyshev [Tue, 24 May 2016 23:35:12 +0000 (16:35 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6.22
* PHP-5.5:
Fix memory leak in imagescale()
Update NEWS
Better fix for bug #72135
Fixed bug #72227: imagescale out-of-bounds read
Fix bug #72241: get_icu_value_internal out-of-bounds read
Fix bug #72135 - don't create strings with lengths outside int range
Add check for string overflow to all string add operations
Fix bug #72114 - int/size_t confusion in fread
Updated NEWS
Fixed bug #71331 - Uninitialized pointer in phar_make_dirstream()
Conflicts:
Zend/zend_operators.c
ext/phar/dirstream.c
ext/phar/tests/bug71331.phpt
Stanislav Malyshev [Tue, 24 May 2016 23:12:01 +0000 (16:12 -0700)]
Fix memory leak in imagescale()
Stanislav Malyshev [Tue, 24 May 2016 22:56:02 +0000 (15:56 -0700)]
Update NEWS