cpython/Modules/_sqlite
Bénédikt Tran bc172ee830
gh-139283: correctly handle size limit in cursor.fetchmany() (#139296)
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.
2025-09-30 11:18:55 +02:00
..
clinic gh-139283: correctly handle size limit in cursor.fetchmany() (#139296) 2025-09-30 11:18:55 +02:00
blob.c gh-129813, PEP 782: Use PyBytesWriter in _sqlite (#138956) 2025-09-18 14:58:35 +02:00
blob.h gh-69093: Support basic incremental I/O to blobs in sqlite3 (GH-30680) 2022-04-14 17:02:56 -07:00
connection.c gh-138736: Fix sqlite3.Connection.blobopen 'row' parameter type and naming (#138738) 2025-09-17 15:51:14 +00:00
connection.h gh-104922: remove PY_SSIZE_T_CLEAN (#106315) 2023-07-02 15:07:46 +09:00
cursor.c gh-139283: correctly handle size limit in cursor.fetchmany() (#139296) 2025-09-30 11:18:55 +02:00
cursor.h gh-139283: correctly handle size limit in cursor.fetchmany() (#139296) 2025-09-30 11:18:55 +02:00
microprotocols.c gh-111789: Simplify the sqlite code (GH-111829) 2023-11-10 20:49:24 +00:00
microprotocols.h gh-104922: remove PY_SSIZE_T_CLEAN (#106315) 2023-07-02 15:07:46 +09:00
module.c gh-133390: Support SQL keyword completion for sqlite3 CLI (GH-133393) (GH-135292) 2025-06-12 16:28:30 +02:00
module.h gh-104922: remove PY_SSIZE_T_CLEAN (#106315) 2023-07-02 15:07:46 +09:00
prepare_protocol.c gh-138342: Use a common utility for visiting an object's type (GH-138343) 2025-09-01 16:20:33 +00:00
prepare_protocol.h Remove unused UNKNOWN macros from cursor.h and prepare_protocol.h (GH-27885) 2021-08-22 22:23:45 +09:00
row.c gh-129603: Don't segfault if sqlite3.Row description is None (#129604) 2025-02-10 00:27:28 +01:00
row.h gh-104922: remove PY_SSIZE_T_CLEAN (#106315) 2023-07-02 15:07:46 +09:00
statement.c gh-138342: Use a common utility for visiting an object's type (GH-138343) 2025-09-01 16:20:33 +00:00
statement.h gh-104922: remove PY_SSIZE_T_CLEAN (#106315) 2023-07-02 15:07:46 +09:00
util.c gh-129928: Rework sqlite3 error helpers (#129929) 2025-02-11 07:49:25 +00:00
util.h gh-129928: Rework sqlite3 error helpers (#129929) 2025-02-11 07:49:25 +00:00