citus
citus copied to clipboard
Potential dereference of NULL ptr
src/backend/distributed/utils/background_jobs.c In the function static TaskExecutionStatus TaskConcurrentCancelCheck()
if (!task || task->status == BACKGROUND_TASK_STATUS_CANCELLING) \\ entering the condition if the task value is NULL
{
...
ereport(LOG, (errmsg(
"task jobid/taskid is cancelled: %ld/%ld",
task->jobid, task->taskid))); \\ NULL is dererenced