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.
B
Bénédikt Tran committed
bc172ee8307431caf4c89612e9e454081635191f
Parent: bd1ada6
Committed by GitHub <noreply@github.com>
on 9/30/2025, 9:18:55 AM