#
3bd3651b |
| 30-Oct-2020 |
Nikita Popov |
Fixed bug #80290 Dropping the dtor arg args[3] rather than using STR_COPY: Since PHP 8, we no longer support separation in call_user_function(), so we also don't need to worry about
Fixed bug #80290 Dropping the dtor arg args[3] rather than using STR_COPY: Since PHP 8, we no longer support separation in call_user_function(), so we also don't need to worry about things like arguments being replaced with references.
show more ...
|
#
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 |
#
9838eff6 |
| 29-Oct-2020 |
Christoph M. Becker |
Merge branch 'PHP-7.4' into PHP-8.0 * PHP-7.4: Fix #44618: Fetching may rely on uninitialized data
|
#
133ac015 |
| 29-Oct-2020 |
Christoph M. Becker |
Merge branch 'PHP-7.3' into PHP-7.4 * PHP-7.3: Fix #44618: Fetching may rely on uninitialized data
|
#
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 ...
|
#
d07f6753 |
| 28-Oct-2020 |
Christoph M. Becker |
Merge branch 'PHP-7.4' into PHP-8.0 * PHP-7.4: Fix #79177: FFI doesn't handle well PHP exceptions within callback
|
#
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. |
#
6beb080a |
| 28-Oct-2020 |
Dmitry Stogov |
Merge branch 'PHP-7.4' into PHP-8.0 * PHP-7.4: Fixed run-time binding of preloaded dynamically declared function
|
#
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 ...
|
#
2693f799 |
| 28-Oct-2020 |
Dmitry Stogov |
Don't force rebuild of symbol table, when populating $http_response_header variable by the HTTP stream wrapper |
#
c80cb797 |
| 27-Oct-2020 |
Dmitry Stogov |
Fix conflict |
#
1f1dbd7f |
| 27-Oct-2020 |
Dmitry Stogov |
Merge branch 'PHP-8.0' * PHP-8.0: Fixed support for named parameters (Zend/tests/named_params/references.phpt) Update NEWS for 8.0.0RC4 Update NEWS for PHP 8.0.0RC3
|
#
e86b2b9b |
| 27-Oct-2020 |
Gabriel Caruso |
Update NEWS for 8.0.0RC4 |
#
d68334c1 |
| 27-Oct-2020 |
Gabriel Caruso |
Update NEWS for PHP 8.0.0RC3 |
#
e71036ce |
| 26-Oct-2020 |
Christoph M. Becker |
Merge branch 'PHP-7.4' into PHP-8.0 * PHP-7.4: Fix #80268: loadHTML() truncates at NUL bytes
|
#
7bc1c0cc |
| 26-Oct-2020 |
Christoph M. Becker |
Merge branch 'PHP-7.3' into PHP-7.4 * PHP-7.3: Fix #80268: loadHTML() truncates at NUL bytes
|
#
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 ...
|
#
2da00fad |
| 26-Oct-2020 |
Christoph M. Becker |
Merge branch 'PHP-7.4' into PHP-8.0 * PHP-7.4: Fix #62474: com_event_sink crashes on certain arguments
|
#
f9ba2ca1 |
| 26-Oct-2020 |
Christoph M. Becker |
Merge branch 'PHP-7.3' into PHP-7.4 * PHP-7.3: Fix #62474: com_event_sink crashes on certain arguments
|
#
7424bfc7 |
| 22-Oct-2020 |
Christoph M. Becker |
Fix #62474: com_event_sink crashes on certain arguments We have to make sure that the variant is of type `VT_DISPATCH` before we access it as such. Closes GH-6372. |
#
0abcb9fb |
| 26-Oct-2020 |
Christoph M. Becker |
Merge branch 'PHP-7.4' into PHP-8.0 * PHP-7.4: Fix #80258: Windows Deduplication Enabled, randon permission errors
|