summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 5.6.12php-5.6.12PHP-5.6.12Ferenc Kovacs2015-08-063-4/+32
|
* Merge branch 'PHP-5.5' into PHP-5.6Anatol Belski2015-08-061-1/+9
| | | | | * PHP-5.5: Fixed bug #70002 TS issues with temporary dir handling
* __wakeup doesn't have to be finalStanislav Malyshev2015-08-061-1/+1
|
* virtual_file_ex uses emalloc in 5.6+Stanislav Malyshev2015-08-061-7/+7
|
* fix testStanislav Malyshev2015-08-061-2/+2
|
* Merge branch 'PHP-5.5' into PHP-5.6Stanislav Malyshev2015-08-0622-153/+403
| | | | | | | | | | | | | | | | | | | | | | | | * 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
* updated libs_versions.txtAnatol Belski2015-08-061-2/+2
|
* fix config.w32php-5.6.12RC1Anatol Belski2015-07-231-0/+1
|
* fix C99 compatAnatol Belski2015-07-231-1/+1
|
* 5.6.12RC1Julien Pauli2015-07-223-4/+4
|
* Add tests for json_last_error()/json_last_error_msg() failuresKubo22015-07-212-0/+43
|
* updated NEWSChristoph M. Becker2015-07-211-0/+1
|
* Merge branch 'pull-request/1425' into PHP-5.6Christoph M. Becker2015-07-212-1/+60
|\ | | | | | | | | | | * pull-request/1425: revised bug53156.phpt Fix #53156: imagerectangle problem with point ordering
| * revised bug53156.phptChristoph M. Becker2015-07-201-19/+17
| |
| * Fix #53156: imagerectangle problem with point orderingChristoph M. Becker2015-07-202-1/+62
| | | | | | | | | | | | | | 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.
* | updated NEWSChristoph M. Becker2015-07-201-0/+1
| |
* | Fix #66387: Stack overflow with imagefilltoborderChristoph M. Becker2015-07-202-0/+19
|/ | | | | | | 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.
* Added basic test for imagewebp() and imagecreatefromwebp()Christoph M. Becker2015-07-192-0/+99
|
* updated NEWSChristoph M. Becker2015-07-191-0/+1
|
* Fix #70102: imagecreatefromwebm() shifts colorsChristoph M. Becker2015-07-192-9/+39
| | | | | libgd internally uses ARGB format, so we have to decode to ARGB instead of RGBA.
* fixed Fix #66590, which may segfaultChristoph M. Becker2015-07-192-0/+18
|
* updated NEWSChristoph M. Becker2015-07-191-0/+1
|
* Fix #66590: imagewebp() doesn't pad to even lengthChristoph M. Becker2015-07-192-0/+40
| | | | | | | | 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.
* updated NEWSChristoph M. Becker2015-07-181-0/+3
|
* Fix #70096: Repeated iptcembed() adds superfluous FF bytesChristoph M. Becker2015-07-182-0/+32
| | | | | | 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.
* fixed PHPT that is always being skipped or otherwise would failChristoph M. Becker2015-07-181-3/+3
|
* Fix test; this should properly emit a fatal error, just as every other ↵Bob Weinand2015-07-161-4/+1
| | | | by-ref assignment to an overloaded object
* Backport fix for bug #70083 to PHP-5.6Bob Weinand2015-07-152-15/+20
|
* Fix #53840: Misleading extension entries in php.iniChristoph M. Becker2015-07-142-2/+0
| | | | | | 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.
* updated NEWSChristoph M. Becker2015-07-131-0/+1
|
* Fix #66882: imagerotate by -90 degrees truncates image by 1pxChristoph M. Becker2015-07-132-2/+19
| | | | | | | | | 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.
* updated NEWSChristoph M. Becker2015-07-131-0/+1
|
* Fix #70064: imagescale(..., IMG_BICUBIC) leaks memoryChristoph M. Becker2015-07-131-2/+2
| | | | | A temporary image (tmp_im) is created with gdImageTrueColor() and freed with gdFree() instead of gdImageDestroy(). Let's fix that.
* updated NEWSChristoph M. Becker2015-07-131-0/+1
|
* Fix #69024: imagescale segfault with palette based imageChristoph M. Becker2015-07-132-0/+20
| | | | | | | | 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>
* updated NEWSChristoph M. Becker2015-07-131-0/+1
|
* Fix #53154: Zero-height rectangle has whiskersChristoph M. Becker2015-07-132-6/+31
| | | | | | | | 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.
* updated NEWSChristoph M. Becker2015-07-121-0/+1
|
* Fix #67447: imagecrop() adds a black line when croppingChristoph M. Becker2015-07-122-3/+29
| | | | A simple one-off error: imagecrop)() copied only width-1 and height-1 pixels.
* updated NEWSChristoph M. Becker2015-07-121-0/+1
|
* Fix #68714: copy 'n paste errorChristoph M. Becker2015-07-122-7/+26
| | | | | | 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.
* Added XFAIL test for bug #53640Christoph M. Becker2015-07-121-0/+22
|
* updated NEWSChristoph M. Becker2015-07-111-0/+1
|
* Fix #66339: PHP segfaults in imagexbmChristoph M. Becker2015-07-112-1/+37
| | | | | | | | 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.
* updated NEWSChristoph M. Becker2015-07-111-0/+3
|
* Fix #70047: gd_info() doesn't report WebP supportChristoph M. Becker2015-07-112-0/+20
| | | | | Despite being documented, the array returned by gd_info() doesn't have a 'WebP Support' key. This patch adds it.
* Adding tests for getprotobyname and getprotobynumber functionsEdgar R. Sandi2015-07-114-0/+52
|
* add missing NEWS entryFerenc Kovacs2015-07-101-0/+4
|
* add missing NEWS entryFerenc Kovacs2015-07-101-0/+2
|
* move the use-after-free fixes to 5.6.11Ferenc Kovacs2015-07-091-8/+6
|