summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update NEWS for PHP 7.4.4PHP-7.4.4Derick Rethans2020-03-171-1/+1
|
* Update NEWSDerick Rethans2020-03-171-1/+15
|
* Fix testStanislav Malyshev2020-03-171-1/+1
|
* Fix bug #79329 - get_headers should not accept \0Stanislav Malyshev2020-03-171-1/+1
|
* Fixed bug #79282Stanislav Malyshev2020-03-172-1/+21
|
* Fix #79283: Segfault in libmagic patch contains a buffer overflowChristoph M. Becker2020-03-173-26/+76
| | | | | To solve this, we properly calculate the required string length upfront instead of allocating an oversized string (`len * 4 + 4`).
* Fix #79371: mb_strtolower (UTF-32LE): stack-buffer-overflowChristoph M. Becker2020-03-172-1/+15
| | | | We make sure that negative values are properly compared.
* this test needs jsonRemi Collet2020-03-031-0/+2
|
* Update NEWS for PHP 7.4.4RC1Derick Rethans2020-03-031-1/+1
|
* Merge branch 'PHP-7.3' into PHP-7.4Christoph M. Becker2020-03-030-0/+0
|\ | | | | | | | | * PHP-7.3: Next is 7.3.17
| * Next is 7.3.17Christoph M. Becker2020-03-034-6/+8
| |
* | Fix #79013: Content-Length missing when posting a curlFile with curlChristoph M. Becker2020-03-022-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Unfortunately, some Webservers (e.g. IIS) do not implement the (F)CGI specifications correctly wrt. chunked uploads (i.e. Transfer-encoding: chunked), but instead pass -1 as CONTENT_LENGTH to the CGI application. However, our (F)CFI SAPIs (i.e. cgi and cgi-fcgi) do not support this. Therefore we try to retrieve the stream size in advance and pass it to `curl_mime_data_cb()` to prevent libcurl from doing chunked uploads. This is basically the same approach that `curl_mime_filedata()` implements, except that we are keeping already opened streams open for the `read_cb()`.
* | Native Windows support for mysqlnd sha256 authentificationChristoph M. Becker2020-03-023-0/+136
| | | | | | | | We implement that on top of Cryptography API: Next Generation (CNG).
* | Abstract over crypto operationsChristoph M. Becker2020-03-021-61/+77
| |
* | Merge branch 'PHP-7.3' into PHP-7.4Christoph M. Becker2020-03-022-59/+96
|\ \ | |/ | | | | | | * PHP-7.3: Update libmagic.patch
| * Update libmagic.patchChristoph M. Becker2020-03-022-66/+110
| | | | | | | | | | | | | | | | Some commits missed to update the patch file, so we're catching up on this. To generally make this easier, we back-port generate_patch.sh from PHP-7.4, where we now also generate magic.h from magic.h.in.
* | Merge branch 'PHP-7.3' into PHP-7.4Christoph M. Becker2020-03-022-1/+2
|\ \ | |/ | | | | | | * PHP-7.3: Fix #79333: com_print_typeinfo() leaks memory
| * Fix #79333: com_print_typeinfo() leaks memoryChristoph M. Becker2020-03-022-1/+2
| | | | | | | | | | | | | | | | We have to free the `ansiname`s, regardless of whether they have been put into the hashtable or not. Since bug79299.phpt already shows the leak when run with a leak checker, there is no need for another regression test.
* | Merge branch 'PHP-7.3' into PHP-7.4Christoph M. Becker2020-03-023-10/+20
|\ \ | |/ | | | | | | * PHP-7.3: Fix #79332: php_istreams are never freed
| * Fix #79332: php_istreams are never freedChristoph M. Becker2020-03-023-10/+20
| | | | | | | | | | | | | | | | | | | | Releasing the `com_dotnet_istream_wrapper` in `istream_destructor()` is pointless, since `istream_destructor()` is only called when the resource is going to be released. This recursion is not a real issue, though, since the resource is never exposed to userland, and has at most refcount 1, so due to well defined unsigned integer underflow, it never is released twice. However, returning early in this case causes a memory leak which needs to be fixed.
* | Remove generated lexerNikita Popov2020-02-281-8488/+0
| | | | | | | | Accidentially committed this when merging from 7.3.
* | Merge branch 'PHP-7.3' into PHP-7.4Nikita Popov2020-02-284-4/+8533
|\ \ | |/ | | | | | | * PHP-7.3: Fixed bug #79062
| * Fixed bug #79062Nikita Popov2020-02-284-118/+162
| | | | | | | | Back up the doc comment when performing heredoc scanahead.
* | Merge branch 'PHP-7.3' into PHP-7.4Christoph M. Becker2020-02-282-10/+10
|\ \ | |/ | | | | | | * PHP-7.3: Fix #79311: enchant_dict_suggest() fails on big endian architecture
| * Fix #79311: enchant_dict_suggest() fails on big endian architectureChristoph M. Becker2020-02-282-10/+10
| | | | | | | | | | | | | | | | | | | | For obvious reasons, we must not assign a `size_t` value to an `int` variable using memcpy(). However, there is actually no need for the intermediate `n_sugg_st` here, if we use the proper types in the first place. A regression test is not necessary, because dict_suggest.phpt already exhibits the erroneous behavior on big endian architectures.
* | Try to fix msvc buildNikita Popov2020-02-281-1/+2
| |
* | Fix another flaky FPM testNikita Popov2020-02-281-1/+2
| |
* | Try to fix intermittent FPM failuresNikita Popov2020-02-281-1/+2
| | | | | | | | | | Terminate only after expecting the log lines to avoid race condition.
* | Fixed bug #79252Nikita Popov2020-02-282-0/+6
| |
* | fix testRemi Collet2020-02-281-1/+1
| |
* | NEWSRemi Collet2020-02-281-1/+5
| |
* | Merge branch 'PHP-7.3' into PHP-7.4Remi Collet2020-02-282-2/+14
|\ \ | |/ | | | | | | * PHP-7.3: Fix #79315 ZipArchive::addFile doesn't honor start/length parameters
| * Fix #79315 ZipArchive::addFile doesn't honor start/length parametersRemi Collet2020-02-282-1/+13
| |
* | Use type-checked ref assignment in UConverterNikita Popov2020-02-281-5/+2
| |
* | Merge branch 'PHP-7.3' into PHP-7.4Dmitry Stogov2020-02-271-2/+2
|\ \ | |/ | | | | | | * PHP-7.3: Fixed incorrect overflow detection
| * Fixed incorrect overflow detectionDmitry Stogov2020-02-271-2/+2
| |
* | Merge branch 'PHP-7.3' into PHP-7.4Christoph M. Becker2020-02-271-0/+6
|\ \ | |/ | | | | | | * PHP-7.3: Add upgrading node regarding fix for bug #79271
| * Add upgrading node regarding fix for bug #79271Christoph M. Becker2020-02-271-0/+6
| | | | | | | | Cf. <https://github.com/php/php-src/pull/5180#issuecomment-590259750>ff.
* | Merge branch 'PHP-7.3' into PHP-7.4Dmitry Stogov2020-02-271-0/+1
|\ \ | |/ | | | | | | * PHP-7.3: Fixed incorrect behavior of internal memory debugger
| * Fixed incorrect behavior of internal memory debuggerDmitry Stogov2020-02-271-0/+1
| |
* | Merge branch 'PHP-7.3' into PHP-7.4Christoph M. Becker2020-02-272-1/+4
|\ \ | |/ | | | | | | * PHP-7.3: Fix #64032: mysqli reports different client_version
| * Fix #64032: mysqli reports different client_versionChristoph M. Becker2020-02-272-1/+4
| | | | | | | | | | | | | | | | | | | | While `mysqli_get_client_version()` calls `mysql_get_client_version()` to retrieve the client version, `mysql::$client_version` is initialized to `MYSQL_VERSION_ID`. Both should match though, and since the former is the more useful information, we fix `mysql::$client_version`. We do not add a regression test, because it would usually succeed anyway, and we already have several tests with respective `assert()`s.
* | Add test for bug #60161Nikita Popov2020-02-261-0/+18
| | | | | | | | This has been fixed in PHP 7.4, let's make sure it stays fixed.
* | Merge branch 'PHP-7.3' into PHP-7.4Nikita Popov2020-02-255-5/+88
|\ \ | |/ | | | | | | * PHP-7.3: Fix #63206: Fully support error/exception_handler stacking, even with null or inside the handler
| * Fix #63206: Fully support error/exception_handler stacking, even with null ↵Mark Plomer2020-02-255-5/+90
| | | | | | | | | | | | | | | | | | | | | | or inside the handler Always push the current user_error/exception_handler to the stack, even when it is empty, so restore_error_handler() always works as expected. The user_error_handler is especially temporarily empty when we are inside the error handler, which caused inconsistent behaviour before.
* | Enable ext/sodium in CINikita Popov2020-02-247-0/+7
| |
* | Add skipif for argon2id in testNikita Popov2020-02-241-0/+1
| | | | | | | | | | If argon2i is provided by libargon, then argon2id may not be available here.
* | Merge branch 'PHP-7.3' into PHP-7.4Nikita Popov2020-02-242-3/+40
|\ \ | |/ | | | | | | * PHP-7.3: Don't treat any WS as start of header
| * Don't treat any WS as start of headerNikita Popov2020-02-242-3/+40
| | | | | | | | | | Check that the header occurs after \n, not other whitespace characters.
* | Merge branch 'PHP-7.3' into PHP-7.4Nikita Popov2020-02-241-62/+25
|\ \ | |/ | | | | | | * PHP-7.3: Reduce code duplication in HTTP header checks