#
49980ee8 |
| 09-Sep-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Use zend_get_gc_buffer_add_fcc() |
#
1d59b377 |
| 09-Sep-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix build with sqlite3 gc and fci/fcc api |
#
cb6fac5b |
| 09-Sep-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Merge branch 'PHP-8.2' into PHP-8.3 * PHP-8.2: Fix GH-11878: SQLite3 callback functions cause a memory leak with a callable array
|
#
6851c7b8 |
| 09-Sep-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Merge branch 'PHP-8.1' into PHP-8.2 * PHP-8.1: Fix GH-11878: SQLite3 callback functions cause a memory leak with a callable array
|
#
07a9d2fb |
| 08-Sep-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix GH-11878: SQLite3 callback functions cause a memory leak with a callable array In this test file, the free_obj handler is called with a refcount of 2, caused by the fact we do a GC_A
Fix GH-11878: SQLite3 callback functions cause a memory leak with a callable array In this test file, the free_obj handler is called with a refcount of 2, caused by the fact we do a GC_ADDREF() to increase its refcount while its refcount is still 1 because the Foo object hasn't been destroyed yet (due to the cycle caused by the sqlite function callback). Solve this by introducing a get_gc handler. Closes GH-11881.
show more ...
|
#
3fb09940 |
| 07-Sep-2023 |
Ilija Tovilo |
Revert "Skip profiling of sqlite3_step" This reverts commit bb31a75321c1b6cc060568fe0b3f123d1a72d67d. It doesn't seem like this actually fixed the problem. |
#
bb31a753 |
| 05-Sep-2023 |
Ilija Tovilo |
Skip profiling of sqlite3_step It looks like sqlite3_step can vary quite drastically from one request to the next. This seems to be caused by more or fewer calls to sqlite3VdbeSorterWrit
Skip profiling of sqlite3_step It looks like sqlite3_step can vary quite drastically from one request to the next. This seems to be caused by more or fewer calls to sqlite3VdbeSorterWrite. It would be great if we could find a way to make execution of this function more consistent, but at this point I don't know how. Closes GH-12130
show more ...
|
#
bb9fb3c5 |
| 07-Jul-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Merge branch 'PHP-8.2' * PHP-8.2: Fix replaced error handling in SQLite3Stmt::__construct
|
#
ca661f2c |
| 07-Jul-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Merge branch 'PHP-8.1' into PHP-8.2 * PHP-8.1: Fix replaced error handling in SQLite3Stmt::__construct
|
#
824d1f95 |
| 06-Jul-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix replaced error handling in SQLite3Stmt::__construct The error handling is replaced using zend_replace_error_handling(), but when SQLITE3_CHECK_INITIALIZED() returns early, the old er
Fix replaced error handling in SQLite3Stmt::__construct The error handling is replaced using zend_replace_error_handling(), but when SQLITE3_CHECK_INITIALIZED() returns early, the old error handling isn't restored. In the past, SQLITE3_CHECK_INITIALIZED() threw a warning when the check failed. This was replaced a few years ago with an error exception. So we can fix the bug by just removing the replacing error handling as it accomplishes nothing anymore. Closes GH-11607.
show more ...
|
#
ddd9a08f |
| 03-Jul-2023 |
BohwaZ |
[RFC] Transition SQLite3 to exceptions (#11058) * Deprecate warnings in SQLite3, change returned exception class to SQLite3Exception RFC: https://wiki.php.net/rfc/sqlite3_exceptions
[RFC] Transition SQLite3 to exceptions (#11058) * Deprecate warnings in SQLite3, change returned exception class to SQLite3Exception RFC: https://wiki.php.net/rfc/sqlite3_exceptions Co-authored-by: Tim Düsterhus <timwolla@googlemail.com>
show more ...
|
#
035105b2 |
| 15-Jun-2023 |
nielsdos <7771979+nielsdos@users.noreply.github.com> |
Merge branch 'PHP-8.2' * PHP-8.2: Fix GH-11451: Invalid associative array containing duplicate keys
|
#
29a96e09 |
| 14-Jun-2023 |
nielsdos <7771979+nielsdos@users.noreply.github.com> |
Fix GH-11451: Invalid associative array containing duplicate keys It used the "add_new" variant which assumes the key doesn't already exist. But in case of duplicate keys we have to take
Fix GH-11451: Invalid associative array containing duplicate keys It used the "add_new" variant which assumes the key doesn't already exist. But in case of duplicate keys we have to take the last result. Closes GH-11453.
show more ...
|
#
1287747a |
| 21-Feb-2023 |
Max Kellermann |
ext: make various internal functions static (#10650) Namely in: * ext/date * ext/libxml * ext/dba * ext/curl |
#
263b22f3 |
| 21-Feb-2023 |
Max Kellermann |
Make lots of string pointers `const` (#10646) This allows using string literals without implicitly casting away the `const`. |
#
568ed472 |
| 06-Dec-2022 |
Christoph M. Becker |
Merge branch 'PHP-8.2' * PHP-8.2: Fix #81742: open_basedir bypass in SQLite3 by using file URI
|
#
83018034 |
| 06-Dec-2022 |
Christoph M. Becker |
Merge branch 'PHP-8.1' into PHP-8.2 * PHP-8.1: Fix #81742: open_basedir bypass in SQLite3 by using file URI
|
#
2f6b9e6c |
| 05-Dec-2022 |
Christoph M. Becker |
Fix #81742: open_basedir bypass in SQLite3 by using file URI A previous fix[1] was not sufficient to catch all potential file URIs, because the patch did not cater to URL encoding. Prop
Fix #81742: open_basedir bypass in SQLite3 by using file URI A previous fix[1] was not sufficient to catch all potential file URIs, because the patch did not cater to URL encoding. Properly parsing and decoding the URI may yield a different result than the handling of SQLite3, so we play it safe, and reject any file URIs if open_basedir is configured. [1] <https://bugs.php.net/bug.php?id=77967> Closes GH-10018.
show more ...
|
#
32d3cae1 |
| 22-Nov-2022 |
George Peter Banyard |
Handle trampolines correctly in new FCC API + usages (#9877) |
#
d1059586 |
| 31-Oct-2022 |
George Peter Banyard |
Only use FCC for SQLite3 user defined authorizer |
#
37aea43e |
| 31-Oct-2022 |
George Peter Banyard |
Only use FCC for SQLite3 user defined collations |
#
29bb4269 |
| 31-Oct-2022 |
George Peter Banyard |
Only use FCC for SQLite3 user defined functions |
#
a01dd9fe |
| 14-Sep-2022 |
Bob Weinand |
Revert "Port all internally used classes to use default_object_handlers" This reverts commit 94ee4f9834743ca74f6c9653863273277ce6c61a. The commit was a bit too late to be included i
Revert "Port all internally used classes to use default_object_handlers" This reverts commit 94ee4f9834743ca74f6c9653863273277ce6c61a. The commit was a bit too late to be included in PHP 8.2 RC1. Given it's a massive ABI break, we decide to postpone the change to PHP 8.3.
show more ...
|
#
03fd4054 |
| 06-Sep-2022 |
Tim Düsterhus |
Use php_info_print_table_header for actual column headers only (#9485) Using php_info_print_table_header() for "Foo: bar" looks odd and out of place, because the whole line is colored. I
Use php_info_print_table_header for actual column headers only (#9485) Using php_info_print_table_header() for "Foo: bar" looks odd and out of place, because the whole line is colored. It is also questionable from a HTML semantics point of view, because it does not described the columns that follow. The use of this across extensions is inconsistent. It was part of the skeleton, but ext/date or ext/json already use a regular row.
show more ...
|
Revision tags: php-8.2.0RC1, php-8.1.10, php-8.0.23 |
|
#
94ee4f98 |
| 24-Aug-2022 |
Bob Weinand |
Port all internally used classes to use default_object_handlers Signed-off-by: Bob Weinand <bobwei9@hotmail.com> |