#
0f579fd7 |
| 27-Nov-2020 |
Nikita Popov |
Fixed bug #80368 We assume that usually LibreSSL supports everything OpenSSL 1.1 does. In this instance, this is not the case.
|
#
5240f839 |
| 27-Nov-2020 |
Nikita Popov |
Fixed bug #80425 Rename the methods in MessageFormatAdapter to make sure they don't clash with anything defined by icu itself, which may be a problem if icu is linked statically.
|
#
ea372e74 |
| 24-Nov-2020 |
Nikita Popov |
Fix bug #80402: Don't strip -lpthread The current behavior has been introduced 20 years ago in f9e375f493a1aeacbbcc8f2f00880d05b4ba7aaf as part of a larger change. It's not clear to
Fix bug #80402: Don't strip -lpthread The current behavior has been introduced 20 years ago in f9e375f493a1aeacbbcc8f2f00880d05b4ba7aaf as part of a larger change. It's not clear to me why special treatement of -lpthread is necessary here.
show more ...
|
#
2fb12be8 |
| 25-Nov-2020 |
Nikita Popov |
Fixed bug #80411 References to null-serializations are stored as null, and as such are part of the reference count. Reminds me that we really need to deprecate the mess that is
Fixed bug #80411 References to null-serializations are stored as null, and as such are part of the reference count. Reminds me that we really need to deprecate the mess that is Serializable.
show more ...
|
#
d016434a |
| 24-Nov-2020 |
Nikita Popov |
Fixed bug #80393 Handle macos versions that don't start with 10.* in libtool. Patch by kir dot morozov at gmail dot com.
|
#
39f95f56 |
| 23-Nov-2020 |
Christoph M. Becker |
Fix #77961: finfo_open crafted magic parsing SIGABRT libmagic may abort the running process, which is not desirable for PHP; we raise a fatal error instead. Closes GH-6437.
|
#
5f9c82d5 |
| 17-Nov-2020 |
Christoph M. Becker |
Fix #80366: Return Value of zend_fstat() not Checked In the somewhat unlikely case that `zend_fstat()` fails, we must not proceed executing the function, but return `false` instead.
Fix #80366: Return Value of zend_fstat() not Checked In the somewhat unlikely case that `zend_fstat()` fails, we must not proceed executing the function, but return `false` instead. Patch based on the patch contributed by sagpant at microsoft dot com. Closes GH-6432.
show more ...
|
#
fa713ec1 |
| 24-Nov-2020 |
Nikita Popov |
Fixed bug #80362: Running dtrace scripts can cause php to crash Patch by al at coralnet dot name.
|
#
221345a0 |
| 14-Nov-2020 |
Christoph M. Becker |
Fix #77594: ob_tidyhandler is never reset We reset to original INI value on request shutdown. Closes GH-6425.
|
#
881e43a0 |
| 10-Nov-2020 |
Christoph M. Becker |
Fix #72964: White space not unfolded for CC/Bcc headers `\r\n` does only terminate a header, if not followed by `\t` or ` `. We have to cater to that when determining the end position of
Fix #72964: White space not unfolded for CC/Bcc headers `\r\n` does only terminate a header, if not followed by `\t` or ` `. We have to cater to that when determining the end position of the respective headers. Closes GH-6420.
show more ...
|
#
c2b11828 |
| 10-Nov-2020 |
Christoph M. Becker |
Fix #80345: PHPIZE configuration has outdated PHP_RELEASE_VERSION We must not redefine the version "constants" for phpize builds, because these have already generated in phpize.js, from
Fix #80345: PHPIZE configuration has outdated PHP_RELEASE_VERSION We must not redefine the version "constants" for phpize builds, because these have already generated in phpize.js, from where we pass these variables forward to configure.js. We also add `PHP_EXTRA_VERSION` and `PHP_VERSION_STRING` to the files for completeness. Closes GH-6419.
show more ...
|
#
78773890 |
| 12-Nov-2020 |
Christoph M. Becker |
Fix #74558: Can't rebind closure returned by Closure::fromCallable() Failure to rebind such closures is not necessarily related to them being created by `ReflectionFunctionAbstract::getC
Fix #74558: Can't rebind closure returned by Closure::fromCallable() Failure to rebind such closures is not necessarily related to them being created by `ReflectionFunctionAbstract::getClosure()`, so we fix the error message. Closes GH-6424.
show more ...
|
#
c1f8dd4a |
| 10-Nov-2020 |
Derick Rethans |
PHP-7.4 is now for 7.4.14
|
#
8eaaabdd |
| 03-Nov-2020 |
Alexander M. Turek |
Fixed bug #80310: Support for icu4c 68.1. On stable versions, bring back the TRUE/FALSE defines by defining _U_DEFINE_TRUE_AND_FALSE. Closes GH-6397.
|
#
2cab085b |
| 04-Nov-2020 |
Christoph M. Becker |
Fix #80266: parse_url silently drops port number 0 As of commit 81b2f3e[1], `parse_url()` accepts URLs with a zero port, but does not report that port, what is wrong in hindsight.
Fix #80266: parse_url silently drops port number 0 As of commit 81b2f3e[1], `parse_url()` accepts URLs with a zero port, but does not report that port, what is wrong in hindsight. Since the port number is stored as `unsigned short` there is no way to distinguish between port zero and no port. For BC reasons, we thus introduce `parse_url_ex2()` which accepts an output parameter that allows that distinction, and use the new function to fix the behavior. The introduction of `parse_url_ex2()` has been suggested by Nikita. [1] <http://git.php.net/?p=php-src.git;a=commit;h=81b2f3e5d9fcdffd87a4fcd12bd8c708a97091e1> Closes GH-6399.
show more ...
|
#
9690ded2 |
| 28-Oct-2020 |
Christoph M. Becker |
Fix #70461: disable md5 code when it is not supported in net-snmp Patch contributed by Alexander Bergmann. Closes GH-6389.
|
#
b5481def |
| 17-Sep-2020 |
Dharman |
Fix bug #72413: Segfault with get_result and PS cursors We cannot simply switch to use_result here, because the fetch_row methods in get_result mode and in use_result/store_result mode
Fix bug #72413: Segfault with get_result and PS cursors We cannot simply switch to use_result here, because the fetch_row methods in get_result mode and in use_result/store_result mode are different: In one case it accepts a statement, in the other a return value zval. Thus, doing a switch to use_result results in a segfault when trying to fetch a row. Actually supporting get_result with cursors would require adding cursor support in mysqlnd_result, not just mysqlnd_ps. That would be a significant amount of effort and, given the age of the issue, does not appear to be particularly likely to happen soon. As such, we simply generate an error when using get_result() with cursors, which is much better than causing a segfault. Instead, parameter binding needs to be used.
show more ...
|
#
bd6850a2 |
| 29-Oct-2020 |
Christoph M. Becker |
[ci skip] Fix NEWS order
|
#
c21e901b |
| 29-Oct-2020 |
Christoph M. Becker |
Fix #44618: Fetching may rely on uninitialized data Unless `SQLGetData()` returns `SQL_SUCCESS` or `SQL_SUCCESS_WITH_INFO`, the `StrLen_or_IndPtr` output argument is not guaranteed to be
Fix #44618: Fetching may rely on uninitialized data Unless `SQLGetData()` returns `SQL_SUCCESS` or `SQL_SUCCESS_WITH_INFO`, the `StrLen_or_IndPtr` output argument is not guaranteed to be properly set. Thus we handle retrieval failure other than `SQL_ERROR` by yielding `false` for those column values and raising a warning. Closes GH-6281.
show more ...
|
#
a66d73db |
| 28-Oct-2020 |
Nikita Popov |
Fixed bug #65825 Set error_info when we fail to read a packet, instead of throwing a warning. Additionally we also need to populate the right error_info in rowp_read -- we'll later t
Fixed bug #65825 Set error_info when we fail to read a packet, instead of throwing a warning. Additionally we also need to populate the right error_info in rowp_read -- we'll later take the error from the packet, not the connection. No test case, as this is hard to reliably test. I'm using the test case from: https://github.com/php/php-src/pull/2131#issuecomment-538374838
show more ...
|
#
f547412c |
| 28-Oct-2020 |
Christoph M. Becker |
Fix #79177: FFI doesn't handle well PHP exceptions within callback We have to error on unhandled exceptions in FFI callbacks, to avoid passing back undefined values. This has be
Fix #79177: FFI doesn't handle well PHP exceptions within callback We have to error on unhandled exceptions in FFI callbacks, to avoid passing back undefined values. This has been discussed and agreed upon in a previous PR[1]. [1] <https://github.com/php/php-src/pull/5120> Closes GH-6366.
show more ...
|
#
68dcaa29 |
| 28-Oct-2020 |
Nikita Popov |
Fixed bug #66528 Report errors in commit, rollback and autocommit handlers.
|
#
68f80be9 |
| 28-Oct-2020 |
Dmitry Stogov |
Fixed run-time binding of preloaded dynamically declared function
|
#
b03776ad |
| 20-Sep-2020 |
Dharman |
Fix bug #79375 Make sure deadlock errors are properly propagated and reports in a number of places in mysqli and PDO MySQL. This also fixes a memory and a segfault that can occu
Fix bug #79375 Make sure deadlock errors are properly propagated and reports in a number of places in mysqli and PDO MySQL. This also fixes a memory and a segfault that can occur under these conditions.
show more ...
|
#
6d2bc725 |
| 23-Oct-2020 |
Christoph M. Becker |
Fix #80268: loadHTML() truncates at NUL bytes libxml2 has no particular issues parsing HTML strings with NUL bytes; these just cause truncation of the current text content, but parsing
Fix #80268: loadHTML() truncates at NUL bytes libxml2 has no particular issues parsing HTML strings with NUL bytes; these just cause truncation of the current text content, but parsing continues generally. Since `::loadHTMLFile()` already supports NUL bytes, `::loadHTML()` should as well. Note that this is different from XML, which does not allow any NUL bytes. Closes GH-6368.
show more ...
|