wooffie · GitHub

Bug report

Bug description:

aggregate_instance = (PyObject**)sqlite3_aggregate_context(context, sizeof(PyObject*));

In this case we don'y check it against NULL, and can dereference in next line:

if (*aggregate_instance == NULL) {

CPython versions tested on:

CPython main branch

Operating systems tested on:

No response

Linked PRs

Read the original on github.com ↗