cpython/Modules/_sqlite/clinic
Bénédikt Tran 7bb51bd5be
[3.13] gh-139283: correctly handle size limit in cursor.fetchmany() (GH-139296) (#139444)
Passing a negative or zero size to `cursor.fetchmany()` made it fetch all rows
instead of none.

While this could be considered a security vulnerability, it was decided to treat
this issue as a regular bug as passing a non-sanitized *size* value in the first
place is not recommended.
(cherry picked from commit bc172ee830)
2025-10-07 13:33:40 +02:00
..
_sqlite3.connect.c.h gh-110964: Remove private _PyArg functions (#110966) 2023-10-17 14:30:31 +02:00
blob.c.h gh-67565: Remove redundant C-contiguity checks (GH-105521) 2023-10-23 12:54:46 +03:00
connection.c.h [3.13] gh-138736: Fix sqlite3.Connection.blobopen 'row' parameter type and naming (#138738) (#139063) 2025-09-17 16:26:10 +00:00
cursor.c.h [3.13] gh-139283: correctly handle size limit in cursor.fetchmany() (GH-139296) (#139444) 2025-10-07 13:33:40 +02:00
module.c.h gh-111089: Revert PyUnicode_AsUTF8() changes (#111833) 2023-11-07 22:36:13 +00:00
row.c.h gh-110964: Remove private _PyArg functions (#110966) 2023-10-17 14:30:31 +02:00