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

IcingaDB#SendConfigDelete(): fix missing nullptr check before deref #9899

Merged
merged 1 commit into from
Nov 21, 2023

Conversation

Al2Klimov
Copy link
Member

fixes #9897

Just as in the other methods of this kind.

Luckily the issue OP provided a stack trace.

@Al2Klimov Al2Klimov added the consider backporting Should be considered for inclusion in a bugfix release label Nov 10, 2023
@Al2Klimov Al2Klimov added this to the 2.15.0 milestone Nov 10, 2023
@cla-bot cla-bot bot added the cla/signed label Nov 10, 2023
@icinga-probot icinga-probot bot added area/icingadb New backend bug Something isn't working core/crash Shouldn't happen, requires attention labels Nov 10, 2023
@julianbrost
Copy link
Contributor

@Al2Klimov Were you able to reproduce the crash? My first attempt (schedule downtime, stop redis, cancel downtime) was of no success.

@Al2Klimov
Copy link
Member Author

No, but fortunately the issue OP's stack lead me to this obvious missing if.

Copy link
Contributor

@julianbrost julianbrost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would have been nicer if we could actually reproduce it, but this looks plausible as a fix.

@julianbrost julianbrost merged commit d2a7117 into master Nov 21, 2023
25 checks passed
@julianbrost julianbrost deleted the icinga2-crashes-silently-9897 branch November 21, 2023 10:03
@Al2Klimov Al2Klimov added backported Fix was included in a bugfix release and removed consider backporting Should be considered for inclusion in a bugfix release labels May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/icingadb New backend backported Fix was included in a bugfix release bug Something isn't working cla/signed core/crash Shouldn't happen, requires attention
Projects
None yet
Development

Successfully merging this pull request may close these issues.

icinga2 crashes silently - "Assertion px!=0 failed" in error.log
2 participants