mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-27 07:34:15 +02:00
Fix nullptr posibility in ProcessEvent
This commit is contained in:
parent
948333225d
commit
64ffe4f840
@ -41,7 +41,7 @@ void EventQueue::ProcessEvent(const Dictionary::Ptr& event)
|
|||||||
frame.Sandboxed = true;
|
frame.Sandboxed = true;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
if (!FilterUtility::EvaluateFilter(frame, &*m_Filter, event, "event"))
|
if (!FilterUtility::EvaluateFilter(frame, m_Filter.get(), event, "event"))
|
||||||
return;
|
return;
|
||||||
} catch (const std::exception& ex) {
|
} catch (const std::exception& ex) {
|
||||||
Log(LogWarning, "EventQueue")
|
Log(LogWarning, "EventQueue")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user