Closed cole-miller closed 6 days ago
Fuzzing revealed a segfault on this line:
https://github.com/canonical/dqlite/blob/e618e62985de2f8d584ef2902977b2ed00ce9d19/src/gateway.c#L157
Looking at the situation in GDB, it appears that _file->pMethods can be NULL. The FAIL_IF_CHECKPOINTING in question is the one in handle_query_sql.
_file->pMethods
This can also happen in handle_exec_sql.
Fuzzing revealed a segfault on this line:
https://github.com/canonical/dqlite/blob/e618e62985de2f8d584ef2902977b2ed00ce9d19/src/gateway.c#L157
Looking at the situation in GDB, it appears that
_file->pMethods
can be NULL. The FAIL_IF_CHECKPOINTING in question is the one in handle_query_sql.