citus icon indicating copy to clipboard operation
citus copied to clipboard

FIX #7693: concurrent task execution: fixed dereference of NULL

Open ProjectMutilation opened this issue 1 year ago • 0 comments

In the function TaskConcurrentCancelCheck() the pointer "task" was utilized after checking against NULL, which can lead to dereference of the null pointer. To avoid the problem, added a separate handling of the case when the pointer is null with an interruption of execution.

Fixes: 1f8675da4382f6e("nonblocking concurrent task execution via background workers")

ProjectMutilation avatar Sep 30 '24 10:09 ProjectMutilation