Skip to content

Null pointer problem caused coredump #388

@guo-m-j

Description

@guo-m-j

At this position in the code, an attempt was made to write the value of job->jobId.
However, the variable job was initially defined as NULL, and there was no valid definition before it was output here, thus resulting in a null pointer.

CronJob *job = NULL;

job->jobId)));

Set the parameter cron.enable_superuser_jobs to false and set the owner of the newly created task to the user with superuser permissions to trigger coredump.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions