cpython/Modules/_sqlite
Miss Islington (bot) cde02ae782
[3.14] gh-139283: correctly handle size limit in cursor.fetchmany() (GH-139296) (GH-139441)
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)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
2025-10-07 21:23:08 +02:00
..
clinic [3.14] gh-139283: correctly handle size limit in cursor.fetchmany() (GH-139296) (GH-139441) 2025-10-07 21:23:08 +02:00
blob.c [3.14] gh-135607: remove null checking of weakref list in dealloc of extension modules and objects (#135614) (#136119) 2025-06-30 15:59:22 +02:00
blob.h
connection.c [3.14] gh-138736: Fix sqlite3.Connection.blobopen 'row' parameter type and naming (#138738) (GH-139062) 2025-10-07 20:38:26 +02:00
connection.h
cursor.c [3.14] gh-139283: correctly handle size limit in cursor.fetchmany() (GH-139296) (GH-139441) 2025-10-07 21:23:08 +02:00
cursor.h [3.14] gh-139283: correctly handle size limit in cursor.fetchmany() (GH-139296) (GH-139441) 2025-10-07 21:23:08 +02:00
microprotocols.c
microprotocols.h
module.c gh-111178: fix UBSan failures in Modules/_sqlite (GH-129087) 2025-01-31 14:33:30 +01:00
module.h
prepare_protocol.c gh-111178: fix UBSan failures in Modules/_sqlite (GH-129087) 2025-01-31 14:33:30 +01:00
prepare_protocol.h
row.c gh-129603: Don't segfault if sqlite3.Row description is None (#129604) 2025-02-10 00:27:28 +01:00
row.h
statement.c gh-129928: Rework sqlite3 error helpers (#129929) 2025-02-11 07:49:25 +00:00
statement.h
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