mirror of
https://github.com/python/cpython.git
synced 2026-02-07 10:20:33 +00:00
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
|
||
|---|---|---|
| .. | ||
| clinic | ||
| blob.c | ||
| blob.h | ||
| connection.c | ||
| connection.h | ||
| cursor.c | ||
| cursor.h | ||
| microprotocols.c | ||
| microprotocols.h | ||
| module.c | ||
| module.h | ||
| prepare_protocol.c | ||
| prepare_protocol.h | ||
| row.c | ||
| row.h | ||
| statement.c | ||
| statement.h | ||
| util.c | ||
| util.h | ||