Christoph M. Becker [Sun, 9 Aug 2015 00:36:58 +0000 (02:36 +0200)]
added tests for bug #66606
Ferenc Kovacs [Fri, 7 Aug 2015 06:46:10 +0000 (08:46 +0200)]
fix NEWS
Stanislav Malyshev [Wed, 5 Aug 2015 07:00:54 +0000 (00:00 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
5.5.29 next
Conflicts:
configure.in
main/php_version.h
Stanislav Malyshev [Wed, 5 Aug 2015 06:59:55 +0000 (23:59 -0700)]
5.5.29 next
Stanislav Malyshev [Tue, 4 Aug 2015 23:45:55 +0000 (16:45 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
fix test
Stanislav Malyshev [Tue, 4 Aug 2015 23:45:32 +0000 (16:45 -0700)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
fix test
Stanislav Malyshev [Tue, 4 Aug 2015 23:45:20 +0000 (16:45 -0700)]
fix test
Stanislav Malyshev [Tue, 4 Aug 2015 23:31:57 +0000 (16:31 -0700)]
virtual_file_ex uses emalloc in 5.6+
Stanislav Malyshev [Tue, 4 Aug 2015 23:13:53 +0000 (16:13 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
__wakeup doesn't have to be final
Stanislav Malyshev [Tue, 4 Aug 2015 23:13:43 +0000 (16:13 -0700)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
__wakeup doesn't have to be final
Stanislav Malyshev [Tue, 4 Aug 2015 23:13:26 +0000 (16:13 -0700)]
__wakeup doesn't have to be final
Stanislav Malyshev [Tue, 4 Aug 2015 22:29:13 +0000 (15:29 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
update NEWS
fix test
update NEWS
Fix bug #70019 - limit extracted files to given directory
Do not do convert_to_* on unserialize, it messes up references
Fix #69793 - limit what we accept when unserializing exception
Fixed bug #70169 (Use After Free Vulnerability in unserialize() with SplDoublyLinkedList)
Fixed bug #70166 - Use After Free Vulnerability in unserialize() with SPLArrayObject
ignore signatures for packages too
Fix bug #70168 - Use After Free Vulnerability in unserialize() with SplObjectStorage
Fixed bug #69892
Fix bug #70014 - use RAND_bytes instead of deprecated RAND_pseudo_bytes
Improved fix for Bug #69441
Fix bug #70068 (Dangling pointer in the unserialization of ArrayObject items)
Fix bug #70121 (unserialize() could lead to unexpected methods execution / NULL pointer deref)
Fix bug #70081: check types for SOAP variables
Conflicts:
ext/soap/php_http.c
ext/spl/spl_observer.c
Stanislav Malyshev [Tue, 4 Aug 2015 22:22:59 +0000 (15:22 -0700)]
update NEWS
Stanislav Malyshev [Tue, 4 Aug 2015 21:46:30 +0000 (14:46 -0700)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
fix test
update NEWS
Stanislav Malyshev [Tue, 4 Aug 2015 21:46:19 +0000 (14:46 -0700)]
fix test
Stanislav Malyshev [Tue, 4 Aug 2015 21:37:28 +0000 (14:37 -0700)]
update NEWS
Stanislav Malyshev [Tue, 4 Aug 2015 21:10:57 +0000 (14:10 -0700)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
Fix bug #70019 - limit extracted files to given directory
Do not do convert_to_* on unserialize, it messes up references
Fix #69793 - limit what we accept when unserializing exception
Fixed bug #70169 (Use After Free Vulnerability in unserialize() with SplDoublyLinkedList)
Fixed bug #70166 - Use After Free Vulnerability in unserialize() with SPLArrayObject
ignore signatures for packages too
Fix bug #70168 - Use After Free Vulnerability in unserialize() with SplObjectStorage
Fixed bug #69892
Fix bug #70014 - use RAND_bytes instead of deprecated RAND_pseudo_bytes
Improved fix for Bug #69441
Fix bug #70068 (Dangling pointer in the unserialization of ArrayObject items)
Fix bug #70121 (unserialize() could lead to unexpected methods execution / NULL pointer deref)
Fix bug #70081: check types for SOAP variables
Conflicts:
.gitignore
ext/date/php_date.c
ext/spl/spl_array.c
ext/spl/spl_observer.c
Stanislav Malyshev [Tue, 4 Aug 2015 21:04:24 +0000 (14:04 -0700)]
Merge branch 'PHP-5.4' into PHP-5.4.44
* PHP-5.4:
Fixed bug #69892
Adjust Git-Rules
Stanislav Malyshev [Tue, 4 Aug 2015 21:00:29 +0000 (14:00 -0700)]
Fix bug #70019 - limit extracted files to given directory
Stanislav Malyshev [Sun, 2 Aug 2015 07:34:09 +0000 (00:34 -0700)]
Do not do convert_to_* on unserialize, it messes up references
Stanislav Malyshev [Mon, 27 Jul 2015 08:38:27 +0000 (01:38 -0700)]
Fix #69793 - limit what we accept when unserializing exception
Stanislav Malyshev [Sun, 2 Aug 2015 04:51:08 +0000 (21:51 -0700)]
Fixed bug #70169 (Use After Free Vulnerability in unserialize() with SplDoublyLinkedList)
Stanislav Malyshev [Sun, 2 Aug 2015 04:45:19 +0000 (21:45 -0700)]
Fixed bug #70166 - Use After Free Vulnerability in unserialize() with SPLArrayObject
Stanislav Malyshev [Sun, 2 Aug 2015 04:15:37 +0000 (21:15 -0700)]
ignore signatures for packages too
Stanislav Malyshev [Sun, 2 Aug 2015 04:12:38 +0000 (21:12 -0700)]
Fix bug #70168 - Use After Free Vulnerability in unserialize() with SplObjectStorage
Nikita Popov [Sat, 20 Jun 2015 14:39:23 +0000 (16:39 +0200)]
Fixed bug #69892
Christoph M. Becker [Sat, 1 Aug 2015 21:52:35 +0000 (23:52 +0200)]
fixed test
Christoph M. Becker [Sat, 1 Aug 2015 12:15:44 +0000 (14:15 +0200)]
mentioned cURL file uploads in the "backward incompatible changes" section
Christoph M. Becker [Fri, 31 Jul 2015 17:52:42 +0000 (19:52 +0200)]
test fails with old libxml2; skip in this case
Christoph M. Becker [Fri, 31 Jul 2015 11:51:49 +0000 (13:51 +0200)]
test requires imagejpeg(); skip otherwise
Julien Pauli [Wed, 29 Jul 2015 08:04:33 +0000 (10:04 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Adjust Git-Rules
5.4.44 next
Julien Pauli [Wed, 29 Jul 2015 08:04:08 +0000 (10:04 +0200)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
Adjust Git-Rules
5.4.44 next
Conflicts:
configure.in
main/php_version.h
Julien Pauli [Wed, 29 Jul 2015 08:02:39 +0000 (10:02 +0200)]
Adjust Git-Rules
Anatol Belski [Tue, 28 Jul 2015 15:42:37 +0000 (17:42 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Fixed bug #70002 TS issues with temporary dir handling
Anatol Belski [Tue, 28 Jul 2015 15:42:25 +0000 (17:42 +0200)]
updated NEWS
Anatol Belski [Tue, 28 Jul 2015 15:41:38 +0000 (17:41 +0200)]
Fixed bug #70002 TS issues with temporary dir handling
Anatol Belski [Tue, 28 Jul 2015 08:29:24 +0000 (10:29 +0200)]
update NEWS
Anatol Belski [Tue, 28 Jul 2015 08:28:45 +0000 (10:28 +0200)]
Fixed bug #69900 Too long timeout on pipes
Stanislav Malyshev [Mon, 27 Jul 2015 00:43:16 +0000 (17:43 -0700)]
Fix bug #70014 - use RAND_bytes instead of deprecated RAND_pseudo_bytes
Stanislav Malyshev [Mon, 27 Jul 2015 00:31:12 +0000 (17:31 -0700)]
Improved fix for Bug #69441
Stanislav Malyshev [Mon, 27 Jul 2015 00:25:25 +0000 (17:25 -0700)]
Fix bug #70068 (Dangling pointer in the unserialization of ArrayObject items)
Stanislav Malyshev [Mon, 27 Jul 2015 00:09:34 +0000 (17:09 -0700)]
Fix bug #70121 (unserialize() could lead to unexpected methods execution / NULL pointer deref)
Stanislav Malyshev [Sun, 26 Jul 2015 23:44:18 +0000 (16:44 -0700)]
Fix bug #70081: check types for SOAP variables
Ferenc Kovacs [Sun, 26 Jul 2015 20:06:51 +0000 (22:06 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
make the travis irc notification a oneliner
Ferenc Kovacs [Sun, 26 Jul 2015 20:06:26 +0000 (22:06 +0200)]
make the travis irc notification a oneliner
Christoph M. Becker [Sun, 26 Jul 2015 15:33:09 +0000 (17:33 +0200)]
allow to skip slow tests
Anatol Belski [Fri, 24 Jul 2015 18:23:07 +0000 (20:23 +0200)]
updated libs_versions.txt
Christoph M. Becker [Thu, 23 Jul 2015 23:23:33 +0000 (01:23 +0200)]
added regression test for bug #55472, which has already been fixed as of PHP
5.5.0
Christoph M. Becker [Thu, 23 Jul 2015 19:31:58 +0000 (21:31 +0200)]
Fix #53854: Missing constants for compression type
The constants have already been added long ago. This patch just adds a PHPT
which checks the recognition of the respective compression methods.
Unfortunately, I've not been able to assemble a zip with all compression
methods.
Christoph M. Becker [Thu, 23 Jul 2015 16:37:07 +0000 (18:37 +0200)]
updated NEWS
Christoph M. Becker [Thu, 23 Jul 2015 16:13:47 +0000 (18:13 +0200)]
Fix #70052: getimagesize() fails for very large and very small WBMP
Very large WBMP (width or height greater than 2**31-1) cause an overflow and
circumvent the size limitation of 2048x2048 px. Very small WBMP (less than 12
bytes) cause a read error and are not recognized. This patch fixes both bugs.
Anatol Belski [Thu, 23 Jul 2015 05:34:31 +0000 (07:34 +0200)]
fix config.w32
Anatol Belski [Thu, 23 Jul 2015 05:31:54 +0000 (07:31 +0200)]
fix C99 compat
Lior Kaplan [Wed, 22 Jul 2015 17:35:31 +0000 (20:35 +0300)]
Align CVE format for #69669
Lior Kaplan [Wed, 22 Jul 2015 17:34:31 +0000 (20:34 +0300)]
Fix 69882 entry
Julien Pauli [Wed, 22 Jul 2015 07:27:49 +0000 (09:27 +0200)]
5.6.13 now
Kubo2 [Mon, 20 Jul 2015 11:05:44 +0000 (13:05 +0200)]
Add tests for json_last_error()/json_last_error_msg() failures
Christoph M. Becker [Mon, 20 Jul 2015 23:17:51 +0000 (01:17 +0200)]
updated NEWS
Christoph M. Becker [Mon, 20 Jul 2015 23:13:04 +0000 (01:13 +0200)]
Merge branch 'pull-request/1425' into PHP-5.6
* pull-request/1425:
revised bug53156.phpt
Fix #53156: imagerectangle problem with point ordering
Christoph M. Becker [Mon, 20 Jul 2015 21:40:23 +0000 (23:40 +0200)]
updated 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.
Christoph M. Becker [Mon, 20 Jul 2015 01:05:22 +0000 (03:05 +0200)]
revised bug53156.phpt
Christoph M. Becker [Mon, 20 Jul 2015 00:11:18 +0000 (02:11 +0200)]
Fix #53156: imagerectangle problem with point ordering
Contrary to imagefilledrectangle(), imagerectangle() has the documented
limitation that the given points have to be the upper left and the lower right
corner, respectively. However, libgd already caters to upper right / lower left
pairs, and not catering to the other two combinations seems to be an oversight.
Christoph M. Becker [Sun, 19 Jul 2015 21:03:02 +0000 (23:03 +0200)]
Added basic test for imagewebp() and imagecreatefromwebp()
Christoph M. Becker [Sun, 19 Jul 2015 20:39:18 +0000 (22:39 +0200)]
updated NEWS
Christoph M. Becker [Sun, 19 Jul 2015 20:21:56 +0000 (22:21 +0200)]
Fix #70102: imagecreatefromwebm() shifts colors
libgd internally uses ARGB format, so we have to decode to ARGB instead of
RGBA.
Christoph M. Becker [Sun, 19 Jul 2015 19:51:35 +0000 (21:51 +0200)]
fixed Fix #66590, which may segfault
Christoph M. Becker [Sun, 19 Jul 2015 15:43:44 +0000 (17:43 +0200)]
updated NEWS
Christoph M. Becker [Sun, 19 Jul 2015 15:32:53 +0000 (17:32 +0200)]
Fix #66590: imagewebp() doesn't pad to even length
The code in the bundled libgd uses libvpx and writes the riff manually. The
code generates the correct even size, but neglects the padding. It's possible
older versions of libwebp would decode this, but libwebp 0.4.0 does not.
Let's apply the patch supplied by one of the WebP developers.
Christoph M. Becker [Sat, 18 Jul 2015 20:50:11 +0000 (22:50 +0200)]
updated NEWS
Christoph M. Becker [Sat, 18 Jul 2015 20:48:54 +0000 (22:48 +0200)]
Fix #70096: Repeated iptcembed() adds superfluous FF bytes
When there is already an APP13 marker segment in the file, iptcembed() doesn't
skip the first byte (0xFF) of this segment, what leads to unnecessary and
potentially invalid duplication of this byte. This patch fixes this issue.
Christoph M. Becker [Sat, 18 Jul 2015 19:33:20 +0000 (21:33 +0200)]
fixed PHPT that is always being skipped or otherwise would fail
Bob Weinand [Thu, 16 Jul 2015 07:29:43 +0000 (09:29 +0200)]
Fix test; this should properly emit a fatal error, just as every other by-ref assignment to an overloaded object
Bob Weinand [Wed, 15 Jul 2015 20:46:53 +0000 (22:46 +0200)]
Backport fix for bug #70083 to PHP-5.6
Christoph M. Becker [Tue, 14 Jul 2015 08:09:29 +0000 (10:09 +0200)]
Fix #53840: Misleading extension entries in php.ini
As of PHP 5.3.0 the php_pspell.dll is not delivered anymore with the Windows
binaries, and according to bug #47464 that's highly unlike to change. So it's
appropriate to remove the respective extension entry from php.ini.
Christoph M. Becker [Mon, 13 Jul 2015 20:29:10 +0000 (22:29 +0200)]
updated NEWS
Christoph M. Becker [Mon, 13 Jul 2015 20:14:13 +0000 (22:14 +0200)]
Fix #66882: imagerotate by -90 degrees truncates image by 1px
Contrary to the external libgd, the bundled libgd doesn't use optimized
rotation algorithms for negative square angles. We fix that now.
There are other improvements in gdImageRotateInterpolated() in the external
libgd. I'll leave them out for now, in the hope that we'll be able to rejoin
the two libraries rather soon.
Christoph M. Becker [Mon, 13 Jul 2015 16:34:40 +0000 (18:34 +0200)]
updated NEWS
Christoph M. Becker [Mon, 13 Jul 2015 16:30:33 +0000 (18:30 +0200)]
Fix #70064: imagescale(..., IMG_BICUBIC) leaks memory
A temporary image (tmp_im) is created with gdImageTrueColor() and freed with
gdFree() instead of gdImageDestroy(). Let's fix that.
Christoph M. Becker [Mon, 13 Jul 2015 13:54:57 +0000 (15:54 +0200)]
updated NEWS
Christoph M. Becker [Mon, 13 Jul 2015 13:43:16 +0000 (15:43 +0200)]
Fix #69024: imagescale segfault with palette based image
imagescale(..., IMG_BICUBIC) is not supposed to work with palette images, so we
fix that by converting to true color if necessary. Basically the same fix has
already been applied to the external libgd[1].
[1] <https://github.com/libgd/libgd/commit/
723ea520bed3b5854df87393c687323d3930edf3>
Christoph M. Becker [Sun, 12 Jul 2015 23:41:46 +0000 (01:41 +0200)]
updated NEWS
Christoph M. Becker [Sun, 12 Jul 2015 23:29:01 +0000 (01:29 +0200)]
Fix #53154: Zero-height rectangle has whiskers
To avoid drawing the corner pixels twice, gdImageRectangle() draws the vertical
lines 2 points shorter than the actual side of the rectangle. However, this
causes "whiskers" for rectangles with height 0. This patch fixes this issue and
at the same time optimizes the algorithm by drawing only a single line for zero
height and zero width rectangles.
Christoph M. Becker [Sun, 12 Jul 2015 21:13:13 +0000 (23:13 +0200)]
updated NEWS
Christoph M. Becker [Sun, 28 Jun 2015 23:36:39 +0000 (01:36 +0200)]
Fix #67447: imagecrop() adds a black line when cropping
A simple one-off error: imagecrop)() copied only width-1 and height-1 pixels.
Christoph M. Becker [Sun, 12 Jul 2015 14:38:23 +0000 (16:38 +0200)]
updated NEWS
Christoph M. Becker [Sun, 12 Jul 2015 14:26:16 +0000 (16:26 +0200)]
Fix #68714: copy 'n paste error
Actually, this is not really a bug fix, but rather a simplification and
optimization in the same vein as has been done with the external libgd, but
going a small step further and joining both for loops.
Christoph M. Becker [Sat, 11 Jul 2015 22:10:56 +0000 (00:10 +0200)]
Added XFAIL test for bug #53640
Christoph M. Becker [Sat, 11 Jul 2015 18:58:50 +0000 (20:58 +0200)]
updated NEWS
Christoph M. Becker [Sat, 11 Jul 2015 18:50:54 +0000 (20:50 +0200)]
Fix #66339: PHP segfaults in imagexbm
The file parameter of the XBM image ZPP is not properly taken into account. If
it is NULL that would result in a segfault, because gdImageXbmCtx() is not
prepared to take a NULL file_name. If it is not NULL the XBM data would be
written to STDOUT, because the stream is not initialized. This patch fixes both
issues.
Christoph M. Becker [Sat, 11 Jul 2015 15:50:42 +0000 (17:50 +0200)]
updated NEWS
Christoph M. Becker [Sat, 11 Jul 2015 15:49:13 +0000 (17:49 +0200)]
Fix #70047: gd_info() doesn't report WebP support
Despite being documented, the array returned by gd_info() doesn't have a 'WebP
Support' key. This patch adds it.
Edgar R. Sandi [Thu, 9 Jul 2015 19:59:26 +0000 (16:59 -0300)]
Adding tests for getprotobyname and getprotobynumber functions
Ferenc Kovacs [Fri, 10 Jul 2015 15:25:44 +0000 (17:25 +0200)]
add missing NEWS entry
Ferenc Kovacs [Fri, 10 Jul 2015 00:30:29 +0000 (02:30 +0200)]
add missing NEWS entry
Ferenc Kovacs [Thu, 9 Jul 2015 18:01:37 +0000 (20:01 +0200)]
move the use-after-free fixes to 5.6.11
Julien Pauli [Wed, 8 Jul 2015 15:00:29 +0000 (17:00 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
5.5.27 release
Conflicts:
main/php_version.h
Julien Pauli [Wed, 8 Jul 2015 14:59:44 +0000 (16:59 +0200)]
5.5.27 release
Xinchen Hui [Wed, 8 Jul 2015 14:34:27 +0000 (22:34 +0800)]
Revert "Fixed invalid read"
I must be confused while switching from master to 5.6
This reverts commit
94957a7091d2d87d3b75c8395a3a11a4fbecaea1.
Xinchen Hui [Wed, 8 Jul 2015 11:06:49 +0000 (19:06 +0800)]
Fixed invalid read