mirror of
https://github.com/python/cpython.git
synced 2026-05-07 21:20:55 -04:00
7bb51bd5be
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)