mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 02:28:21 +00:00
Merge remote-tracking branch 'origin/topic/jsiwek/bit-1176'
* origin/topic/jsiwek/bit-1176: Fix segfault if when statement's RHS is unitialized. BIT-1176 #merged
This commit is contained in:
commit
78de5c17ef
5 changed files with 80 additions and 2 deletions
|
@ -207,7 +207,7 @@ bool Trigger::Eval()
|
|||
return false;
|
||||
}
|
||||
|
||||
if ( v->IsZero() )
|
||||
if ( ! v || v->IsZero() )
|
||||
{
|
||||
// Not true. Perhaps next time...
|
||||
DBG_LOG(DBG_NOTIFIERS, "%s: trigger condition is false", Name());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue