Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Oct 4, 2024

  1. concurrent task execution: fixed dereference of NULL pointer

    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: 1f8675d("nonblocking concurrent task execution via background workers")
    
    Signed-off-by: Maksim Korotkov <m.korotkov@postgrespro.ru>
    ProjectMutilation committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    73205b1 View commit details
    Browse the repository at this point in the history