Headline
CVE-2022-34967: ODBC Driver Assertion `stmt->Dbc->FirstStmt' Failed · Issue #7306 · MonetDB/MonetDB
The assertion `stmt->Dbc->FirstStmt’ failed in MonetDB Database Server v11.43.13.
+---------------------------------------+
| Connected! |
| |
| sql-statement |
| help [tablename] |
| quit |
| |
+---------------------------------------+
SQL> SELECT avg(42) over (order by row_number() over ())
[37000][MonetDB][ODBC Driver 11.44.0]unexpected end of file
[ISQL]ERROR: Could not SQLPrepare
SQL> SELECT 1
isql: /root/MonetDB/clients/odbc/driver/ODBCStmt.c:194: destroyODBCStmt: Assertion `stmt->Dbc->FirstStmt' failed.
fish: “isql monetdb -v” terminated by signal SIGABRT (Abort)
+---------------------------------------+
| Connected! |
| |
| sql-statement |
| help [tablename] |
| quit |
| |
+---------------------------------------+
SQL> SELECT avg(42) over (order by row_number() over ())
[37000][MonetDB][ODBC Driver 11.44.0]unexpected end of file
[ISQL]ERROR: Could not SQLPrepare
SQL> SELECT 1
+-----+
| %2 |
+-----+
| 1 |
+-----+
SQLRowCount returns 1
1 rows fetched
Screenshots
If applicable, add screenshots to help explain your problem.
**Issue labeling **
Make liberal use of the labels to characterise the issue topics. e.g. identify severity, version, etc…