mirror of https://github.com/Icinga/icinga2.git
Fix null pointer dereference in ApiEvents::RepositoryTimerHandler
fixes #8535
This commit is contained in:
parent
19e160ce92
commit
acd5d55f64
|
@ -1641,6 +1641,9 @@ void ApiEvents::RepositoryTimerHandler(void)
|
|||
|
||||
Zone::Ptr my_zone = my_endpoint->GetZone();
|
||||
|
||||
if (!my_zone)
|
||||
return;
|
||||
|
||||
Dictionary::Ptr params = new Dictionary();
|
||||
params->Set("seen", Utility::GetTime());
|
||||
params->Set("endpoint", my_endpoint->GetName());
|
||||
|
|
Loading…
Reference in New Issue