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 nil pointer dereference for cron #319

Merged
merged 1 commit into from
Jun 13, 2022
Merged

Conversation

Contextualist
Copy link
Contributor

@Contextualist Contextualist commented Jun 12, 2022

This fixes #220 and fixes #242.

I did not encounter this myself, but based on the error call stack provided, the error seems to be due to a nil logger being passed to cron.SkipIfStillRunning.

If the next update occurs before the current update finishes, the nil logger is used without check and triggers the nil pointer dereference error.

@mxpv mxpv merged commit 8ee22c6 into mxpv:main Jun 13, 2022
@Contextualist Contextualist deleted the fix-cron-nil branch June 13, 2022 04:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants