#
2a1aa8ca |
| 20-Apr-2024 |
Saki Takamachi |
Fix GH-13998: Manage refcount of agg_context->val correctly (#14004) When step_callback fails, agg_context->val is passed dtor, but agg_context->val is also used in final_callback regard
Fix GH-13998: Manage refcount of agg_context->val correctly (#14004) When step_callback fails, agg_context->val is passed dtor, but agg_context->val is also used in final_callback regardless of the success/failure of step_callback, so should not call dtor. closes #14004 fixes #13998
show more ...
|
#
fda91a05 |
| 17-Apr-2024 |
Saki Takamachi |
Fix GH-13984: Buffer size is now checked before memcmp (#13991) Fixed an issue where a buffer overflow occurred when a string shorter than `:memory:` was passed as the db name of pdo_sql
Fix GH-13984: Buffer size is now checked before memcmp (#13991) Fixed an issue where a buffer overflow occurred when a string shorter than `:memory:` was passed as the db name of pdo_sqlite. fixed #13984 closes #13991
show more ...
|
#
d6a0b3af |
| 11-Jan-2024 |
Máté Kocsis |
Implement PDO driver-specific subclasses RFC: https://wiki.php.net/rfc/pdo_driver_specific_subclasses Closes GH-12804 Co-Authored-By: Danack <Danack@basereality.com>
|
#
54f92fc3 |
| 23-Mar-2023 |
David CARLIER |
ext/pdo_sqlite: simplifying sqlite3_exec usage. (#10910) pdo_sqlite_error copy the error message via the php's allocator, while the one from sqlite3_exec is unused.
|
#
a6a80eef |
| 19-Dec-2022 |
Stanislav Malyshev |
Improve fix for bug #81740
|
#
921b6813 |
| 31-Oct-2022 |
Christoph M. Becker |
Fix #81740: PDO::quote() may return unquoted string `sqlite3_snprintf()` expects its first parameter to be `int`; we need to avoid overflow.
|
Revision tags: php-8.2.0RC1, php-8.1.10, php-8.0.23, php-8.0.23RC1, php-8.1.10RC1, php-8.2.0beta3, php-8.2.0beta2, php-8.1.9, php-8.0.22 |
|
#
a398a2fd |
| 27-Jul-2022 |
Christoph M. Becker |
Merge branch 'PHP-8.1' * PHP-8.1: Fix GH-9032: SQLite3 authorizer crashes on NULL values
|
#
ca84d06b |
| 27-Jul-2022 |
Christoph M. Becker |
Merge branch 'PHP-8.0' into PHP-8.1 * PHP-8.0: Fix GH-9032: SQLite3 authorizer crashes on NULL values
|
Revision tags: php-8.1.9RC1, php-8.2.0beta1, php-8.0.22RC1 |
|
#
8ed21a89 |
| 18-Jul-2022 |
Christoph M. Becker |
Fix GH-9032: SQLite3 authorizer crashes on NULL values The arguments 3 to 6 of the authorizer callback may be `NULL`[1], and we have to properly deal with that. Instead of causing a seg
Fix GH-9032: SQLite3 authorizer crashes on NULL values The arguments 3 to 6 of the authorizer callback may be `NULL`[1], and we have to properly deal with that. Instead of causing a segfault, we deny authorization, which is still better than a crash, and apparently, we cannot do better anyway. [1] <https://www.sqlite.org/c3ref/set_authorizer.html> Closes GH-9040.
show more ...
|
#
8fec4155 |
| 18-Jul-2022 |
Christoph M. Becker |
Drop support for SQLITE_COPY in authorizer callback According to the sources, `SQLITE_COPY` is unused as of SQLite 3.6.10[1] (at least), so there is no need to support it any longer; we
Drop support for SQLITE_COPY in authorizer callback According to the sources, `SQLITE_COPY` is unused as of SQLite 3.6.10[1] (at least), so there is no need to support it any longer; we require at least SQLite 3.7.7 at minimum. [1] <https://github.com/sqlite/sqlite/blob/version-3.6.10/src/sqlite.h.in#L2411> Closes GH-9041.
show more ...
|
Revision tags: php-8.0.21, php-8.1.8, php-8.2.0alpha3, php-8.1.8RC1, php-8.2.0alpha2, php-8.0.21RC1, php-8.0.20, php-8.1.7, php-8.2.0alpha1, php-7.4.30, php-8.1.7RC1, php-8.0.20RC1, php-8.1.6, php-8.0.19, php-8.1.6RC1, php-8.0.19RC1, php-8.0.18, php-8.1.5, php-7.4.29, php-8.1.5RC1, php-8.0.18RC1, php-8.1.4, php-8.0.17, php-8.1.4RC1, php-8.0.17RC1, php-8.1.3, php-8.0.16, php-7.4.28, php-8.1.3RC1, php-8.0.16RC1, php-8.1.2, php-8.0.15, php-8.1.2RC1, php-8.0.15RC1, php-8.0.14, php-8.1.1, php-7.4.27, php-8.1.1RC1, php-8.0.14RC1, php-7.4.27RC1, php-8.1.0, php-8.0.13, php-7.4.26, php-7.3.33, php-8.1.0RC6, php-7.4.26RC1, php-8.0.13RC1, php-8.1.0RC5, php-7.3.32, php-7.4.25, php-8.0.12, php-8.1.0RC4, php-8.0.12RC1, php-7.4.25RC1, php-8.1.0RC3, php-8.0.11, php-7.4.24, php-7.3.31, php-8.1.0RC2, php-7.4.24RC1, php-8.0.11RC1, php-8.1.0RC1, php-7.4.23, php-8.0.10, php-7.3.30, php-8.1.0beta3, php-8.0.10RC1, php-7.4.23RC1, php-8.1.0beta2, php-8.0.9, php-7.4.22, php-8.1.0beta1, php-7.4.22RC1, php-8.0.9RC1, php-8.1.0alpha3, php-7.4.21, php-7.3.29, php-8.0.8, php-8.1.0alpha2, php-7.4.21RC1, php-8.0.8RC1, php-8.1.0alpha1, php-8.0.7, php-7.4.20, php-8.0.7RC1, php-7.4.20RC1 |
|
#
01b3fc03 |
| 06-May-2021 |
KsaR |
Update http->https in license (#6945) 1. Update: http://www.php.net/license/3_01.txt to https, as there is anyway server header "Location:" to https. 2. Update few license 3.0 to 3.01 as
Update http->https in license (#6945) 1. Update: http://www.php.net/license/3_01.txt to https, as there is anyway server header "Location:" to https. 2. Update few license 3.0 to 3.01 as 3.0 states "php 5.1.1, 4.1.1, and earlier". 3. In some license comments is "at through the world-wide-web" while most is without "at", so deleted. 4. fixed indentation in some files before |
show more ...
|
Revision tags: php-8.0.6, php-7.4.19, php-7.4.18, php-7.3.28, php-8.0.5, php-8.0.5RC1 |
|
#
65a5c184 |
| 13-Apr-2021 |
Nikita Popov |
Add functions to convert i64/u64 to string PDO implement half of this, but this functionality is generally useful. Provide these as zend_u64_to_str and zend_i64_to_str to complement
Add functions to convert i64/u64 to string PDO implement half of this, but this functionality is generally useful. Provide these as zend_u64_to_str and zend_i64_to_str to complement zend_long_to_str.
show more ...
|
Revision tags: php-7.4.18RC1, php-8.0.4RC1, php-7.4.17RC1 |
|
#
c465462e |
| 15-Mar-2021 |
George Peter Banyard |
Use standard PDO way for fetching integer attribute values |
Revision tags: php-8.0.3, php-7.4.16, php-8.0.3RC1, php-7.4.16RC1, php-8.0.2, php-7.4.15, php-7.3.27, php-8.0.2RC1, php-7.4.15RC2, php-7.4.15RC1 |
|
#
a8dd009f |
| 17-Jan-2021 |
tzmfreedom |
Allow specifying sqlite3 DSN (file:/) in PDO SQLite Closes GH-6610. |
#
a78aea89 |
| 18-Jan-2021 |
George Peter Banyard |
Refactor PDO's last inserted ID handler to use and return zend_string Closes GH-6617 |
#
94ea8e24 |
| 18-Jan-2021 |
George Peter Banyard |
Refactor PDO doer handler to use zend_string |
#
422d1665 |
| 14-Jan-2021 |
Nikita Popov |
Make convert_to_*_ex simple aliases of convert_to_* Historically, the _ex variants separated the zval first, if a conversion was necessary. This distinction no longer makes sense sin
Make convert_to_*_ex simple aliases of convert_to_* Historically, the _ex variants separated the zval first, if a conversion was necessary. This distinction no longer makes sense since PHP 7. The only difference that was still left is that _ex checked whether the type is the same first, but the usage of these macros did not actually distinguish on whether such an inlined check is valuable or not in a given context. Also drop the unused convert_to_explicit_type macros.
show more ...
|
Revision tags: php-8.0.1, php-7.4.14, php-7.3.26 |
|
#
63cda0fe |
| 23-Dec-2020 |
George Peter Banyard |
Refactor PDO's quoter handler to return a zend_string Closes GH-6547 |
#
1a58611a |
| 24-Dec-2020 |
George Peter Banyard |
Voidify PDO's fetch_error handler |
#
60a61afd |
| 24-Dec-2020 |
George Peter Banyard |
Boolify PDO's preparer handler |
#
53ba72ec |
| 24-Dec-2020 |
George Peter Banyard |
Voidify PDO's closer handler |
#
954d3743 |
| 23-Dec-2020 |
George Peter Banyard |
Boolify PDO's quoter handler |
#
43f69160 |
| 23-Dec-2020 |
George Peter Banyard |
Boolify PDO's set_attribute driver function |
#
d04adf60 |
| 23-Dec-2020 |
George Peter Banyard |
Boolify PDO's transaction handlers This includes begin(), commit(), rollBack(), and inTransaction() |
Revision tags: php-7.4.14RC1, php-8.0.1RC1, php-7.3.26RC1 |
|
#
2d51c203 |
| 11-Dec-2020 |
Nikita Popov |
PDO: Store/pass query_string as zend_string Rather than storing char* + size_t, use a zend_string*. Also avoid various copies of the query string. |