summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* add missing NEWS entriesphp-5.6.27PHP-5.6.27Ferenc Kovacs2016-10-141-0/+36
|
* use zend_error instead of zend_error_noreturnRemi Collet2016-10-141-1/+1
|
* 5.6.27Ferenc Kovacs2016-10-133-4/+4
|
* Apparently negative wordwrap is a thing and should work as length = 0.Stanislav Malyshev2016-10-131-1/+5
| | | | I'll leave it as is for now.
* Really fix bug #73017Stanislav Malyshev2016-10-131-4/+10
|
* Merge branch 'PHP-5.6.27' into PHP-5.6Stanislav Malyshev2016-10-1323-310/+443
| | | | | | | | | | | | | | | | | | | | | * PHP-5.6.27: Fix tests fix tsrm Fix bug #73284 - heap overflow in php_ereg_replace function Fix bug #73276 - crash in openssl_random_pseudo_bytes function Fix bug #73293 - NULL pointer dereference in SimpleXMLElement::asXML() fix bug #73275 - crash in openssl_encrypt function Fix for #73240 - Write out of bounds at number_format Bug #73218: add mitigation for ICU int overflow Add more locale length checks, due to ICU bugs. Fix bug #73208 - another missing length check Fix bug #73190: memcpy negative parameter _bc_new_num_ex Fix bug #73189 - Memcpy negative size parameter php_resolve_path Fixed bug #73174 - heap overflow in php_pcre_replace_impl Fix bug #73150: missing NULL check in dom_document_save_html Fix bug #73147: Use After Free in PHP7 unserialize() Fix bug #73082 Fix bug #73073 - CachingIterator null dereference when convert to string
* Revert "Updated to version 2016.7 (2016g)"php-5.6.27RC1Ferenc Kovacs2016-09-291-2027/+2139
| | | | This reverts commit 6a544f2d1e3100dcd998248376eba9b9a9257a8e.
* 5.6.27RC1Ferenc Kovacs2016-09-293-4/+4
|
* Updated to version 2016.7 (2016g)Derick Rethans2016-09-281-2139/+2027
|
* Handle resource keys in constexpr arraysNikita Popov2016-09-282-0/+18
|
* Fix the constant array case as wellNikita Popov2016-09-283-3/+15
|
* Check next_index_insert failure in ADD_ARRAY_ELEMENTNikita Popov2016-09-283-21/+100
|
* Fix #53745: cgi.discard_path option is missing from php.iniChristoph M. Becker2016-09-262-0/+24
| | | | Also cgi.check_shebang_line has been missing.
* update libs_versions.txtAnatol Belski2016-09-261-1/+1
|
* Fix test_image_equals_file() wrt. palette imagesChristoph M. Becker2016-09-252-2/+63
| | | | | | | | | | | | The recently introduced test_image_equals_file() doesn't properly work for palette images, because in this case only the palette indexes are compared, what can lead to false positives and negatives as shown in the added test. To fix that we convert palette images to truecolor, what is supposed to be faster than calling imagecolorsforindex() for each pixel. We furthermore rely on PHP's refcounting to free unused images; after all, this is not C.
* Merge branch 'pull-request/2120' into PHP-5.6Christoph M. Becker2016-09-241-2/+2
|\
| * Fix potential memory issue with USE_ZEND_ALLOC=0Christoph M. Becker2016-09-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The PHP core and extensions are written with the assumption that memory allocation either succeeds, or the allocator bails out (i.e. the allocator is infallible). Therefore the result of emalloc() and friends are not checked for NULL values. However, with USE_ZEND_ALLOC=0, malloc() and friends are used as allocators, but these are fallible, i.e. they return NULL instead of bailing out if they fail. This easily leads to invalid memory accesses in the following, such as in <https://bugs.php.net/73032>. Some of these cases may constitute exploitable vulnerabilities. Therefore we make the infallible __zend_alloc() and friends the default for USE_ZEND_ALLOC=0.
* | Fix #73161: imagecreatefromgd2() may leak memoryChristoph M. Becker2016-09-244-5/+24
| |
* | Fix #73159: imagegd2(): unrecognized formats may result in corrupted filesChristoph M. Becker2016-09-243-1/+24
| | | | | | | | We must not apply the format correction twice for truecolor images.
* | Fix #73155: imagegd2() writes wrong chunk sizes on boundariesChristoph M. Becker2016-09-243-2/+31
| |
* | Fix #73157 (again): imagegd2() ignores 3rd param if 4 are givenChristoph M. Becker2016-09-243-4/+27
| | | | | | | | Obviously, there was a bad merge.
* | Revert "Fixed bug #73037 SoapServer reports Bad Request when gzipped"Anatol Belski2016-09-233-200/+1
| | | | | | | | This reverts commit f9a699f6c3aa7acea922242a0f14731f6b829742.
* | skip this test for now as it seems to have issues running dev serverAnatol Belski2016-09-231-0/+1
| |
* | Fixed bug #73037 SoapServer reports Bad Request when gzippedAnatol Belski2016-09-233-1/+199
| | | | | | | | (cherry picked from commit 410c68788ae4826807e8ced3f4a02e676142b22a)
* | Update NEWSChristoph M. Becker2016-09-231-0/+2
| |
* | Formatting. Fix possible memory corruption in FPM SHM managementJulien Pauli2016-09-231-12/+16
| |
* | fix every work call mmaptom9162016-09-231-13/+12
| | | | | | | | fix fpm_scoreboard_free
* | Rework FreeType related testsChristoph M. Becker2016-09-235-155/+104
| | | | | | | | | | | | | | | | | | Firstly, there is no fundamental difference between running the tests on freetype before and after 2.4.10, so we re-join the respective test cases. Secondly, there are some minor differences in the results depending on architecture, freetype versions and config options, so we cater to that by allowing small deviations from the expectations.
* | update libs versionsAnatol Belski2016-09-221-2/+2
| |
* | fix bug related to #865Márcio Almada2016-09-223-4/+39
| | | | | | | | | | | | | | In case USE_KEY flag is active, RegexIterator->accept() should keep it's old behavior which is to accept keys mapping arrays. This broke after PHP 5.5 but was not noticed due to lack of tests for USE_KEY.
* | Fixed inconsistent meaning of zend_startup_module_ex() return value used in ↵Dmitry Stogov2016-09-201-1/+7
| | | | | | | | zend_hash_apply()
* | Merge branch 'pull-request/1845' into PHP-5.6Christoph M. Becker2016-09-206-77/+193
|\ \
| * | fix left-shifted/misaligned bounding-box + wrong kerning in ↵Mark Plomer2016-04-036-83/+191
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | imagettfbbox/imageftbbox - load glyph with FT_LOAD_IGNORE_TRANSFORM for bbox as final bbox is rotated at once later (fixes "double-rotation" per glyph for calculating bbox) - reload the rotated glyph for painting after that (only if angle != 0) - rotate the original bbox at 0,0 and do not throw away xMin/yMin (drawing-rotation is also based at "origin" point - including the bearingX, see http://www.freetype.org/freetype2/docs/glyphs/glyphs-3.html#section-3) - this fixes the "left-shift"-problem also when angle = 0 - removed "xb/yb" and use "x/y" directly for offsetting brect (no need for adding "x1/y1" and substracting "yd" later) - removed therefore unused "yd" helper var which seems tried to fix parts of the original problems - initialize x/y with 0 instead of -1 in php_imagettftext_common() to make image*text() and image*bbox() results identical (there was a -1px shift in image*bbox() before) - fixed gdroundupdown() for negative numbers (-256 / 64 gives -5 instead of -4 before) - rotate kerning-delta by given angle (fixes completely wrong kerning and therefore wrong bounding box if angle != 0) - changed 3 tests and added a new one to test for the new (better) coordinates
| * | Dont ignore errors from FT_Get_GlyphPaul Tarjan2016-04-031-1/+9
| | |
* | | Fix wrong year in previous commit.George Wang2016-09-191-2/+2
| | |
* | | Do not wrap user exception in case of custom JSON serializationJulien Pauli2016-09-192-1/+27
| | |
* | | Fix #73100: session_destroy null dereference in ps_files_path_createChristoph M. Becker2016-09-163-1/+25
| | |
* | | Updte NEWSXinchen Hui2016-09-161-0/+3
| | |
* | | Fixed bug #72505 (readfile() mangles files larger than 2G)Xinchen Hui2016-09-161-1/+1
| | |
* | | Fix #73003: Integer Overflow in gdImageWebpCtx of gd_webp.cChristoph M. Becker2016-09-162-0/+11
| | | | | | | | | | | | We add the missing integer overflow check to avoid potential buffer overflows.
* | | fix test (32bits)Remi Collet2016-09-151-1/+1
| | |
* | | fix ZTS buildRemi Collet2016-09-151-1/+1
| | |
* | | update NEWSFerenc Kovacs2016-09-151-2/+33
| | |
* | | Fix and reactivate regression test for bug #50194Christoph M. Becker2016-09-151-2/+10
| | | | | | | | | | | | | | | | | | | | | Apparently, different FreeType versions render the string differently, so we have to cater to these slight differences. Unfortunately, the testing framework doesn't yet offer a clean API for this, so we work around the limitations by parsing and checking the output of test_image_equals_file().
* | | Skip ext/gd/tests/bug50194.phpt for nowChristoph M. Becker2016-09-141-0/+1
| | | | | | | | | | | | | | | There are apparently issues with the font rendering with different freetype version; I'll have a look at this issue ASAP.
* | | Fix #50194: imagettftext broken on transparent background w/o alphablendingChristoph M. Becker2016-09-144-0/+33
| | | | | | | | | | | | | | | We must not draw the background pixels of the character glyphs, what has already been fixed in GD 2.0.26.
* | | Fix bug #73072 (Invalid path SNI_server_certs causes segfault)Jakub Zelenka2016-09-133-3/+55
| | |
* | | Merge branch 'pull-request/2126' into PHP-5.6Christoph M. Becker2016-09-131-2/+2
|\ \ \
| * | | Add myself as pdo_dblib maintainerAdam Baratz2016-09-121-2/+2
| | | |
* | | | add test for bug #73068Anatol Belski2016-09-131-0/+37
| | | |