[CONPY-251] cursors nextset() method doesn't check stmt status (and might crash) Created: 2023-02-12 Updated: 2023-02-12 Resolved: 2023-02-12 |
|
| Status: | Closed |
| Project: | MariaDB Connector/Python |
| Component/s: | DBAPI 2.0 |
| Affects Version/s: | 1.1.5 |
| Fix Version/s: | 1.1.6 |
| Type: | Bug | Priority: | Major |
| Reporter: | Georg Richter | Assignee: | Georg Richter |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
In cursor method nextset() the status of the statement handle will not be checked - if a cursor was not executed before (self->stmt = NULL) it will crash. How to repeat:
|