]> granicus.if.org Git - php/log
php
8 years agoFixed bug #72505 (readfile() mangles files larger than 2G)
Xinchen Hui [Tue, 28 Jun 2016 03:11:25 +0000 (11:11 +0800)]
Fixed bug #72505 (readfile() mangles files larger than 2G)

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Lior Kaplan [Sat, 25 Jun 2016 18:32:38 +0000 (21:32 +0300)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Add CVE info for PHP 5.6.22
  Add CVE info for PHP 5.6.23
  Add missing entries for PHP 5.6.23

8 years agoAlign NEWS files with 7.0.8 and Changelog
Lior Kaplan [Sat, 25 Jun 2016 18:25:57 +0000 (21:25 +0300)]
Align NEWS files with 7.0.8 and Changelog

8 years agoAdd CVE info for PHP 5.6.22
Lior Kaplan [Sat, 25 Jun 2016 17:31:26 +0000 (20:31 +0300)]
Add CVE info for PHP 5.6.22

8 years agoAdd CVE info for PHP 5.6.23
Lior Kaplan [Sat, 25 Jun 2016 17:28:51 +0000 (20:28 +0300)]
Add CVE info for PHP 5.6.23

8 years agoAdd missing entries for PHP 5.6.23
Lior Kaplan [Sat, 25 Jun 2016 16:56:00 +0000 (19:56 +0300)]
Add missing entries for PHP 5.6.23

8 years agoFixed bug #72484 (SCRIPT_FILENAME shows wrong path if the user specify router.php)
Xinchen Hui [Sat, 25 Jun 2016 01:08:16 +0000 (18:08 -0700)]
Fixed bug #72484 (SCRIPT_FILENAME shows wrong path if the user specify router.php)

8 years agoFixed format
Xinchen Hui [Fri, 24 Jun 2016 13:13:04 +0000 (21:13 +0800)]
Fixed format

8 years agoyet another test rewrite
Anatol Belski [Thu, 23 Jun 2016 07:42:17 +0000 (09:42 +0200)]
yet another test rewrite

8 years agoFixed bug #72476 (Memleak in jit_stack)
Xinchen Hui [Thu, 23 Jun 2016 06:06:48 +0000 (14:06 +0800)]
Fixed bug #72476 (Memleak in jit_stack)

8 years agoupdate NEWS
Anatol Belski [Wed, 22 Jun 2016 18:19:09 +0000 (20:19 +0200)]
update NEWS

8 years agorewrite test
Anatol Belski [Wed, 22 Jun 2016 17:46:02 +0000 (19:46 +0200)]
rewrite test

8 years agoFixed bug #72463 mail fails with invalid argument
Anatol Belski [Wed, 22 Jun 2016 17:05:31 +0000 (19:05 +0200)]
Fixed bug #72463 mail fails with invalid argument

8 years agoAllow "proxy" ovjects to substitute their class names through get_class_name() handle...
Dmitry Stogov [Wed, 22 Jun 2016 14:23:04 +0000 (17:23 +0300)]
Allow "proxy" ovjects to substitute their class names through get_class_name() handler (similar to var_dump() and others).

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Wed, 22 Jun 2016 10:22:03 +0000 (12:22 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  fix test cleanup

8 years agofix test cleanup
Anatol Belski [Wed, 22 Jun 2016 10:20:02 +0000 (12:20 +0200)]
fix test cleanup

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Wed, 22 Jun 2016 09:44:14 +0000 (11:44 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  fix dir separator in test

8 years agofix dir separator in test
Anatol Belski [Wed, 22 Jun 2016 09:41:05 +0000 (11:41 +0200)]
fix dir separator in test

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Ferenc Kovacs [Wed, 22 Jun 2016 01:08:10 +0000 (03:08 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoupdate NEWS
Ferenc Kovacs [Wed, 22 Jun 2016 01:03:01 +0000 (03:03 +0200)]
update NEWS

8 years agofix two remaining tests
Anatol Belski [Tue, 21 Jun 2016 15:24:08 +0000 (17:24 +0200)]
fix two remaining tests

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Tue, 21 Jun 2016 14:22:51 +0000 (16:22 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  fix test

8 years agofix test
Anatol Belski [Tue, 21 Jun 2016 14:20:03 +0000 (16:20 +0200)]
fix test

There is a difference between TS and NTS warning message, since
virtual_mkdir vs glibc directly is used. This has no effect for
the actual fix functionality.

8 years agore-fix leak
Anatol Belski [Tue, 21 Jun 2016 13:21:58 +0000 (15:21 +0200)]
re-fix leak

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Tue, 21 Jun 2016 13:21:26 +0000 (15:21 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  re-fix leak
  Revert "fix leak"

8 years agore-fix leak
Anatol Belski [Tue, 21 Jun 2016 13:18:10 +0000 (15:18 +0200)]
re-fix leak

8 years agoRevert "fix leak"
Anatol Belski [Tue, 21 Jun 2016 12:58:15 +0000 (14:58 +0200)]
Revert "fix leak"

This reverts commit 757105e2a26ec18ad3283be277516d81ba883bb2.

8 years agoRevert "fix leak"
Anatol Belski [Tue, 21 Jun 2016 12:51:43 +0000 (14:51 +0200)]
Revert "fix leak"

This reverts commit c5d9c508976bb289c265d99938bda4dbf14622d3.

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Tue, 21 Jun 2016 11:26:34 +0000 (13:26 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  fix leak

8 years agofix leak
Anatol Belski [Tue, 21 Jun 2016 11:26:12 +0000 (13:26 +0200)]
fix leak

8 years agofix leak
Anatol Belski [Tue, 21 Jun 2016 10:29:41 +0000 (12:29 +0200)]
fix leak

8 years agobump zip version
Remi Collet [Tue, 21 Jun 2016 09:16:21 +0000 (11:16 +0200)]
bump zip version

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Tue, 21 Jun 2016 07:54:34 +0000 (09:54 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  remove the huge test file, generate it on the fly instead
  remove the huge test file, generate it on the fly instead

8 years agoMerge branch 'PHP-5.5' into PHP-5.6
Anatol Belski [Tue, 21 Jun 2016 07:53:04 +0000 (09:53 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  remove the huge test file, generate it on the fly instead

8 years agoremove the huge test file, generate it on the fly instead
Anatol Belski [Tue, 21 Jun 2016 07:42:38 +0000 (09:42 +0200)]
remove the huge test file, generate it on the fly instead

8 years agoremove the huge test file, generate it on the fly instead
Anatol Belski [Tue, 21 Jun 2016 07:42:38 +0000 (09:42 +0200)]
remove the huge test file, generate it on the fly instead

8 years agoremove the huge test file, generate it on the fly instead
Anatol Belski [Tue, 21 Jun 2016 07:42:38 +0000 (09:42 +0200)]
remove the huge test file, generate it on the fly instead

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Stanislav Malyshev [Tue, 21 Jun 2016 07:28:17 +0000 (00:28 -0700)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Now the right bug #
  Fix NEWS

Conflicts:
configure.in
main/php_version.h

8 years agoMerge branch 'PHP-5.5' into PHP-5.6
Stanislav Malyshev [Tue, 21 Jun 2016 07:27:46 +0000 (00:27 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Now the right bug #
  Fix NEWS

8 years agoMerge branch 'PHP-7.0.8' into PHP-7.0
Stanislav Malyshev [Tue, 21 Jun 2016 07:25:49 +0000 (00:25 -0700)]
Merge branch 'PHP-7.0.8' into PHP-7.0

* PHP-7.0.8:
  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
  Fix bug #72321 - use efree() for emalloc allocation
  5.6.23RC1
  fix NEWS
  set versions

Conflicts:
configure.in
main/php_version.h

8 years agoMerge branch 'PHP-5.6.23' into PHP-7.0.8
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

8 years agoNow the right bug #
Stanislav Malyshev [Tue, 21 Jun 2016 07:18:27 +0000 (00:18 -0700)]
Now the right bug #

8 years agoFix NEWS
Stanislav Malyshev [Tue, 21 Jun 2016 07:14:50 +0000 (00:14 -0700)]
Fix NEWS

8 years agoMerge branch 'PHP-5.6.23' into PHP-5.6
Stanislav Malyshev [Tue, 21 Jun 2016 07:02:37 +0000 (00:02 -0700)]
Merge branch 'PHP-5.6.23' into PHP-5.6

* PHP-5.6.23:
  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
  Fix bug #72321 - use efree() for emalloc allocation
  5.6.23RC1

Conflicts:
configure.in
main/php_version.h

8 years agoMerge branch 'PHP-5.5' into PHP-5.6.23
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

8 years agoiFixed bug #72446 - Integer Overflow in gdImagePaletteToTrueColor() resulting in...
Stanislav Malyshev [Tue, 21 Jun 2016 06:58:26 +0000 (23:58 -0700)]
iFixed bug #72446 - Integer Overflow in gdImagePaletteToTrueColor() resulting in heap overflow

8 years agoupdate NEWS
Stanislav Malyshev [Tue, 21 Jun 2016 06:45:37 +0000 (23:45 -0700)]
update NEWS

8 years agoMerge branch 'PHP-5.5.37' into PHP-5.5
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

8 years agofix tests
Stanislav Malyshev [Tue, 21 Jun 2016 05:54:55 +0000 (22:54 -0700)]
fix tests

8 years agofix build
Stanislav Malyshev [Tue, 21 Jun 2016 05:13:31 +0000 (22:13 -0700)]
fix build

8 years agoFix bug #72455: Heap Overflow due to integer overflows
Stanislav Malyshev [Tue, 21 Jun 2016 04:51:42 +0000 (21:51 -0700)]
Fix bug #72455:  Heap Overflow due to integer overflows

8 years agoFix bug #72434: ZipArchive class Use After Free Vulnerability in PHP's GC algorithm...
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

8 years agoFixed ##72433: 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

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Remi Collet [Mon, 20 Jun 2016 16:44:39 +0000 (18:44 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Fix bug #71936 (Segmentation fault destroying HTTP_RAW_POST_DATA)

8 years agoFix bug #71936 (Segmentation fault destroying HTTP_RAW_POST_DATA)
Remi Collet [Mon, 20 Jun 2016 16:43:07 +0000 (18:43 +0200)]
Fix bug #71936 (Segmentation fault destroying HTTP_RAW_POST_DATA)

8 years agoUpdate NEWS
Christoph M. Becker [Mon, 20 Jun 2016 13:28:41 +0000 (15:28 +0200)]
Update NEWS

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Mon, 20 Jun 2016 13:20:58 +0000 (15:20 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoUpdate NEWS
Christoph M. Becker [Mon, 20 Jun 2016 13:18:47 +0000 (15:18 +0200)]
Update NEWS

8 years agoFix #64641: imagefilledpolygon doesn't draw horizontal line
Christoph M. Becker [Sun, 19 Jun 2016 11:54:55 +0000 (13:54 +0200)]
Fix #64641: imagefilledpolygon doesn't draw horizontal line

As has been reported, 1-dimensional horizontal filled polygons are not drawn
at all. That is caused by the scanline algorithm used for drawing filled
polygons which skips the drawing of horizontal edges, because that is
normally not necessary. If, however, the polygon consists of horizontal
edges only, that obviously doesn't work, so we add a special case handling.

That has also been fixed in libgd with
<https://github.com/libgd/libgd/commit/f9f10fa9>.

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Stanislav Malyshev [Sun, 19 Jun 2016 05:13:16 +0000 (22:13 -0700)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Update NEWS

8 years agoUpdate NEWS
Stanislav Malyshev [Sun, 19 Jun 2016 05:13:04 +0000 (22:13 -0700)]
Update NEWS

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Stanislav Malyshev [Sun, 19 Jun 2016 05:11:23 +0000 (22:11 -0700)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Fix bug #72447: Type Confusion in php_bz2_filter_create()

Conflicts:
ext/bz2/bz2_filter.c

8 years agoFix bug #72447: Type Confusion in php_bz2_filter_create()
Stanislav Malyshev [Sun, 19 Jun 2016 05:10:22 +0000 (22:10 -0700)]
Fix bug #72447: Type Confusion in php_bz2_filter_create()

8 years agoFix bug #72407: NULL Pointer Dereference at _gdScaleVert
Stanislav Malyshev [Sun, 19 Jun 2016 04:57:25 +0000 (21:57 -0700)]
Fix bug #72407: NULL Pointer Dereference at _gdScaleVert

8 years agoFix bug #72402: _php_mb_regex_ereg_replace_exec - double free
Stanislav Malyshev [Sun, 19 Jun 2016 04:48:39 +0000 (21:48 -0700)]
Fix bug #72402: _php_mb_regex_ereg_replace_exec - double free

8 years agoUpdate NEWS
Xinchen Hui [Sun, 19 Jun 2016 04:34:12 +0000 (21:34 -0700)]
Update NEWS

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Xinchen Hui [Sun, 19 Jun 2016 04:33:54 +0000 (21:33 -0700)]
Merge branch 'PHP-5.6' into PHP-7.0

Conflicts:
main/streams/xp_socket.c

8 years agoFixed bug #72439 (Stream socket with remote address leads to a segmentation fault)
Xinchen Hui [Sun, 19 Jun 2016 04:29:47 +0000 (21:29 -0700)]
Fixed bug #72439 (Stream socket with remote address leads to a segmentation fault)

8 years agoFix bug #72298 pass2_no_dither out-of-bounds access
Stanislav Malyshev [Sun, 19 Jun 2016 04:04:33 +0000 (21:04 -0700)]
Fix bug #72298 pass2_no_dither out-of-bounds access

8 years agoFixed #72339 Integer Overflow in _gd2GetHeader() resulting in heap overflow
Pierre Joye [Sat, 18 Jun 2016 18:15:10 +0000 (20:15 +0200)]
Fixed #72339 Integer Overflow in _gd2GetHeader() resulting in heap overflow

8 years agoUpdate NEWS
Christoph M. Becker [Fri, 17 Jun 2016 16:00:24 +0000 (18:00 +0200)]
Update NEWS

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Fri, 17 Jun 2016 15:52:10 +0000 (17:52 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoFix #53640: XBM images require width to be multiple of 8
Christoph M. Becker [Fri, 17 Jun 2016 15:50:36 +0000 (17:50 +0200)]
Fix #53640: XBM images require width to be multiple of 8

8 years agoFixed "implicit declaration of function ‘msgformat_fix_quotes’"
Xinchen Hui [Fri, 17 Jun 2016 07:59:41 +0000 (15:59 +0800)]
Fixed "implicit declaration of function ‘msgformat_fix_quotes’"

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Jakub Zelenka [Thu, 16 Jun 2016 19:11:54 +0000 (20:11 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoFix incorrect error suppressing in openssl_error_string test
Jakub Zelenka [Thu, 16 Jun 2016 19:11:02 +0000 (20:11 +0100)]
Fix incorrect error suppressing in openssl_error_string test

8 years agoFix occasionally failing OpenSSL DH bug test
Jakub Zelenka [Thu, 16 Jun 2016 19:09:17 +0000 (20:09 +0100)]
Fix occasionally failing OpenSSL DH bug test

The test was failing when first byte was 0

8 years agoUpdate NEWS
Christoph M. Becker [Thu, 16 Jun 2016 12:33:41 +0000 (14:33 +0200)]
Update NEWS

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Thu, 16 Jun 2016 12:32:10 +0000 (14:32 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoUpdate NEWS
Christoph M. Becker [Thu, 16 Jun 2016 12:26:45 +0000 (14:26 +0200)]
Update NEWS

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Thu, 16 Jun 2016 12:06:39 +0000 (14:06 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoFix #43475: Styled thick horizontal lines are scrambled
Christoph M. Becker [Wed, 15 Jun 2016 18:58:06 +0000 (20:58 +0200)]
Fix #43475: Styled thick horizontal lines are scrambled

Thick lines are drawn by gdImageFilledRectangle(), which iterates over
the x ordinate first (Z order) to apply the style pattern. While this works
fine for vertical and diagonal lines, it obviously fails for horizontal
lines, which have to be iterated over in N order.

To fix this bug, we introduce the helpers  gdImageFilled(H|V)Rectangle(),
which may be reused for other purposes as well.

This is basically the same fix as libgd/libgd/c2b91dbc.

8 years agoFix bug #72262 - do not overflow int
Stanislav Malyshev [Thu, 16 Jun 2016 04:58:26 +0000 (21:58 -0700)]
Fix bug #72262 - do not overflow int

8 years agoFix bug #72400 and #72403 - prevent signed int overflows for string lengths
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

8 years agoFixed expected test outcome due to rule changes
Derick Rethans [Wed, 15 Jun 2016 17:31:41 +0000 (18:31 +0100)]
Fixed expected test outcome due to rule changes

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Derick Rethans [Wed, 15 Jun 2016 17:30:03 +0000 (18:30 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoFixed expected test outcome due to rule changes
Derick Rethans [Wed, 15 Jun 2016 17:29:40 +0000 (18:29 +0100)]
Fixed expected test outcome due to rule changes

8 years agoUpdated to version 2016.5 (2016e)
Derick Rethans [Wed, 15 Jun 2016 10:58:50 +0000 (11:58 +0100)]
Updated to version 2016.5 (2016e)

8 years agoEmpty merge
Derick Rethans [Wed, 15 Jun 2016 10:58:49 +0000 (11:58 +0100)]
Empty merge

8 years agoUpdated to version 2016.5 (2016e)
Derick Rethans [Wed, 15 Jun 2016 10:58:47 +0000 (11:58 +0100)]
Updated to version 2016.5 (2016e)

8 years agoMerge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
Xinchen Hui [Wed, 15 Jun 2016 06:56:07 +0000 (14:56 +0800)]
Merge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0

* 'PHP-7.0' of git.php.net:/php-src:
  Maybe fix bug #72011
  Fix #50845: exif_process_IFD_TAG: Use the right offset if reading from stream
  Fix bug #72138 - Integer Overflow in Length of String-typed ZVAL

8 years agoFixed(attempt to) bug #72405 (mb_ereg_replace - mbc_to_code (oniguruma) - oob read...
Xinchen Hui [Wed, 15 Jun 2016 06:54:57 +0000 (14:54 +0800)]
Fixed(attempt to) bug #72405 (mb_ereg_replace - mbc_to_code (oniguruma) - oob read access)

according to ext/mbstring/oniguruma/enc/utf8.c, max bytes are 6

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Nikita Popov [Tue, 14 Jun 2016 20:38:44 +0000 (22:38 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

Conflicts:
ext/date/php_date.c

8 years agoMaybe fix bug #72011
Nikita Popov [Tue, 14 Jun 2016 20:36:09 +0000 (22:36 +0200)]
Maybe fix bug #72011

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Stanislav Malyshev [Tue, 14 Jun 2016 17:50:45 +0000 (10:50 -0700)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Fix #50845: exif_process_IFD_TAG: Use the right offset if reading from stream

8 years agoFix #50845: exif_process_IFD_TAG: Use the right offset if reading from stream
Bartosz Dziewoński [Tue, 14 Jun 2016 11:27:56 +0000 (13:27 +0200)]
Fix #50845: exif_process_IFD_TAG: Use the right offset if reading from stream

When the location of the data is outside of the range we have
preloaded (for example, if it's before the beginning of the IFD
structure), we have to read it from the stream into a separate buffer.
The offset calculations in this case were incorrect, resulting in
bogus values being read for the affected fields (sometimes parts of
other fields, sometimes binary data).

The included test image, sourced from [1], is in the public domain.

[1] https://commons.wikimedia.org/wiki/File:U.S._Marines_Prepare_to_board_an_MV-22_Osprey_160509-M-AF202-041.jpg

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Stanislav Malyshev [Tue, 14 Jun 2016 08:03:37 +0000 (01:03 -0700)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Fix bug #72138 - Integer Overflow in Length of String-typed ZVAL

8 years agoFix bug #72138 - Integer Overflow in Length of String-typed ZVAL
Stanislav Malyshev [Tue, 14 Jun 2016 08:03:03 +0000 (01:03 -0700)]
Fix bug #72138 - Integer Overflow in Length of String-typed ZVAL

8 years agoFix bug #72275: don't allow smart_str to overflow int
Stanislav Malyshev [Tue, 14 Jun 2016 06:12:47 +0000 (23:12 -0700)]
Fix bug #72275: don't allow smart_str to overflow int

8 years agoFixed bug #72399 (Use-After-Free in MBString (search_re))
Xinchen Hui [Tue, 14 Jun 2016 01:20:26 +0000 (18:20 -0700)]
Fixed bug #72399 (Use-After-Free in MBString (search_re))