summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update CREDITS for PHP 7.2.15PHP-7.2.15Remi Collet2019-02-052-11/+11
|
* Update NEWS for PHP 7.2.15Remi Collet2019-02-051-1/+1
|
* workaround for pear server downRemi Collet2019-02-051-1/+2
|
* prepare NEWSRemi Collet2019-02-051-3/+1
|
* Update version for PHP 7.2.15RC1php-7.2.15RC1Christoph M. Becker2019-01-295-1967/+2780
|
* Make special assert() handling independent of compiler flagsNikita Popov2019-01-291-8/+10
|
* Fixed bug #77530: PHP crashes when parsing "(2)::class"ekinhbayar2019-01-283-1/+19
|
* Fix bug #77390 (feof might hang on TLS streams in case of fragmented TLS ↵Jakub Zelenka2019-01-253-24/+25
| | | | | | records) Simplified version of the fix from Abyl Valg so credit to him.
* Update and integrate openssl client proxy testJakub Zelenka2019-01-253-150/+72
|
* Add a test for fragmented SSL packetsAbyr Valg2019-01-252-0/+216
|
* Merge remote-tracking branch 'php-src/PHP-7.2' into PHP-7.2Nikita Popov2019-01-243-0/+29
|\
| * Fixed bug #77494 (Disabling class causes segfault on member access)Dmitry Stogov2019-01-243-0/+29
| |
* | Revert "Prefix error_code with underscore in FastZPP implementation"Nikita Popov2019-01-241-25/+25
|/ | | | | | | | | | | | This reverts commit 6305119a5193d4318add01190ca4afbb49ded102. This is a source-compatibility break for extensions that define custom FastZPP macros, such as ext/uv: https://github.com/bwoebi/php-uv/blob/a983eb17b69f74a45d785ddc6a7bff3d4531b88c/php_uv.c#L75 I don't think that FastZPP was intended to be used this way, but let's revert this from release branches to avoid extension breakage.
* Add flag to disable jumptable optimizationNikita Popov2019-01-242-0/+7
| | | | | | | This is useful for coverage. While it is currently safe to just skip over the SWITCH_* opcodes, this may not be true in the future due to opcache optimizations, so it's safer to disable emission of SWITCH_* opcodes entirely.
* Checkin LiteSpeed SAPI 7.2.George Wang2019-01-204-47/+84
|
* Update NEWS [ci skip]Anatol Belski2019-01-201-0/+4
|
* Fix #77479: imagewbmp() segfaults with very large imagesChristoph M. Becker2019-01-193-0/+28
| | | | | We must not proceed working with the Wbmp structure, if it hasn't been allocated.
* Fix seeking in php://inputLauri Kenttä2019-01-182-1/+35
|
* Fixed bug #76675Pedro Magalhães2019-01-183-0/+57
| | | | Leave a reference to the resource in the php_curl.
* Fix #73614: gdImageFilledArc() doesn't properly draw piesChristoph M. Becker2019-01-164-5/+51
| | | | | | | | | | | | | The fix for PHP bug 43828[1] changed the algorithm from drawing filled pies from drawing multiple triangles to drawing a single polygon. Due to quirks of the filled polygon drawing algorithm, we had to filter out extraneous vertices. This lead, however, to a bug regarding displaced starting and ending points near 90° and 270° degrees, which we fix by reinserting these vertices if they had been removed. This fix is a port of libgd/libgd@1406b1a. [1] <https://bugs.php.net/bug.php?id=43828>
* document open_basedir and realpath cache coupling in php.iniwbob2019-01-142-0/+4
| | | | [ci skip]
* Fixed bug #77454Nikita Popov2019-01-143-6/+25
|
* Update SDK version for AppVeyorAnatol Belski2019-01-121-1/+1
|
* Fix rl_completion_matches detectionOndřej Surý2019-01-111-2/+15
| | | | Also fix a typo when checking for rl_on_new_line in readline library.
* Fix bug #77361 (configure fails on 64-bit AIX when opcache enabled)Kevin Adler2019-01-113-21/+31
| | | | | | | | | | | | | | | | | | | | | | | | | In f9048300123, support for GNU Hurd was added to the opcache and the configure check to ensure the opcache knows the flock struct layout prior to building was changed check for two cases: BSD layout and Linux layout. All the existing hard-coded cases in ZendAccelerator.h follow these two cases, except for 64-bit AIX. This means that even though building on 64-bit AIX would work, the configure script refuses to continue. Add a new configure check for the 64-bit AIX case and a new compiler definition HAVE_FLOCK_AIX64. Now that all the cases are covered, simplify the ifdef logic around these three HAVE_FLOCK_* macros: - The macOS and the various BSD flavors fall under HAVE_FLOCK_BSD - Linux, HP-UX, GNU Hurd, 32-bit AIX, and SVR4 environments fall under HAVE_FLOCK_LINUX - 64-bit AIX falls under HAVE_FLOCK_AIX64 The only difference between the existing HAVE_FLOCK_LINUX and the hard-coded Linux/HP-UX/Hurd case is that the latter initialized the 5th member to 0, but since the C standard already says that un-initialized members will be initialized to 0, it's effectively the same.
* Fix cleaning up after openssl_pkcs7_verify_basic testAlexander Kurilo2019-01-101-3/+1
|
* Generate certs for openssl tests on the flyAlexander Kurilo2019-01-1025-219/+505
| | | | | | | | The idea is to create an easy way to provide a certificate that never expires. In order to make it cross-platform, PHP is used rather than openssl CLI app. Using openssl to generate certificates for tests that test openssl might be not the best idea but pros seem to outweight cons that this "recursice dependency" adds
* Fix #73281: imagescale(…, IMG_BILINEAR_FIXED) can cause black borderChristoph M. Becker2019-01-103-81/+57
| | | | We port the upstream fixes for libgd/libgd#329 and libgd/libgd#224.
* Fix #77272: imagescale() may return image resource on failureChristoph M. Becker2019-01-103-26/+39
| | | | | | | | | `_gdScaleHoriz()` and `_gdScaleVert()` may fail, but don't signal failure since they are void functions. We change that according to upstream libgd. We also remove the unused `Scale()` function, which doesn't exist in upstream libgd either, right away.
* Fixed bug #77439Nikita Popov2019-01-103-0/+18
|
* Revert visibilityAndrey Hristov2019-01-092-2/+2
| | | | (cherry picked from commit 71ffae9605a0b19f4c7a76d317276c934a767a65)
* Merge branch 'PHP-7.1' into PHP-7.2Sara Golemon2019-01-080-0/+0
|\ | | | | | | | | * PHP-7.1: Bump for 7.1.27
| * Bump for 7.1.27Sara Golemon2019-01-083-5/+8
| |
* | Don't swap operands of ZEND_MULNikita Popov2019-01-081-1/+0
| | | | | | | | | | If this is used with operator overloading, then the operation does not necessarily commute (for example, matrix multiplication).
* | cleanup mergeRemi Collet2019-01-081-1/+0
| |
* | Prefix error_code with underscore in FastZPP implementationtwosee2019-01-081-25/+25
| | | | | | | | To avoid conflicts with parameter names.
* | Update tests due to data changes in tzdata 2018iDerick Rethans2019-01-073-15/+15
| |
* | Updated to version 2018.9 (2018i)Derick Rethans2019-01-071-877/+1253
| |
* | [ci skip] fix NEWSRemi Collet2019-01-071-1/+3
| |
* | [ci skip] fix NEWSRemi Collet2019-01-071-25/+23
| |
* | Merge branch 'PHP-7.1' into PHP-7.2Stanislav Malyshev2019-01-071-0/+2
|\ \ | |/ | | | | | | * PHP-7.1: Still leaking for some reason, XFAIL for now, I'll look into it later.
| * Still leaking for some reason, XFAIL for now, I'll look into it later.Stanislav Malyshev2019-01-071-0/+2
| |
* | Merge branch 'PHP-7.1' into PHP-7.2Stanislav Malyshev2019-01-066-2/+22
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-7.1: Fix bug #77418 - Heap overflow in utf32be_mbc_to_code Add NEWS [ci skip] Add NEWS Fix more issues with encodilng length Fix #77270: imagecolormatch Out Of Bounds Write on Heap Fix bug #77380 (Global out of bounds read in xmlrpc base64 code) Fix bug #77371 (heap buffer overflow in mb regex functions - compile_string_node) Fix bug #77370 - check that we do not read past buffer end when parsing multibytes Fix #77269: Potential unsigned underflow in gdImageScale Fix bug #77247 (heap buffer overflow in phar_detect_phar_fname_ext) Fix bug #77242 (heap out of bounds read in xmlrpc_decode()) Regenerate certs for openssl tests
| * Merge branch 'PHP-5.6' into PHP-7.1Stanislav Malyshev2019-01-066-2/+22
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.6: Fix bug #77418 - Heap overflow in utf32be_mbc_to_code [ci skip] Add NEWS Fix more issues with encodilng length Fix #77270: imagecolormatch Out Of Bounds Write on Heap Fix bug #77380 (Global out of bounds read in xmlrpc base64 code) Fix bug #77371 (heap buffer overflow in mb regex functions - compile_string_node) Fix bug #77370 - check that we do not read past buffer end when parsing multibytes Fix #77269: Potential unsigned underflow in gdImageScale Fix bug #77247 (heap buffer overflow in phar_detect_phar_fname_ext) Fix bug #77242 (heap out of bounds read in xmlrpc_decode()) Regenerate certs for openssl tests
| | * Fix bug #77418 - Heap overflow in utf32be_mbc_to_codeStanislav Malyshev2019-01-066-5/+25
| | |
| | * [ci skip] Add NEWSStanislav Malyshev2019-01-061-0/+22
| | |
| | * Fix more issues with encodilng lengthStanislav Malyshev2019-01-066-14/+38
| | | | | | | | | | | | Should fix bug #77381, bug #77382, bug #77385, bug #77394.
| | * Fix #77270: imagecolormatch Out Of Bounds Write on HeapChristoph M. Becker2019-01-062-2/+20
| | | | | | | | | | | | | | | | | | | | | At least some of the image reading functions may return images which use color indexes greater than or equal to im->colorsTotal. We cater to this by always using a buffer size which is sufficient for `gdMaxColors` in `gdImageColorMatch()`.
| | * Fix bug #77380 (Global out of bounds read in xmlrpc base64 code)Stanislav Malyshev2019-01-062-2/+19
| | |
| | * Fix bug #77371 (heap buffer overflow in mb regex functions - ↵Stanislav Malyshev2019-01-062-0/+11
| | | | | | | | | | | | compile_string_node)