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

Downtime::AddDowntime(): NULL-check pointer before deref not to crash #10127

Merged
merged 4 commits into from
Sep 18, 2024

Conversation

Al2Klimov
Copy link
Member

@icinga-probot icinga-probot bot added this to the 2.13.10 milestone Aug 21, 2024
@cla-bot cla-bot bot added the cla/signed label Aug 21, 2024
@icinga-probot icinga-probot bot added area/api REST API bug Something isn't working core/crash Shouldn't happen, requires attention ref/IP labels Aug 21, 2024
…heir names

to avoid names of vanished objects.
For this purpose lookup the specified Downtime. Also pass Downtime objects,
not just names, to Downtime::AddDowntime() not to lookup it twice.
@yhabteab yhabteab merged commit 20a73f6 into support/2.13 Sep 18, 2024
26 checks passed
@yhabteab yhabteab deleted the AddDowntime-trigger_name-2.13 branch September 18, 2024 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/api REST API bug Something isn't working cla/signed core/crash Shouldn't happen, requires attention ref/IP
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants