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:
Robin Sommer 2014-10-31 16:29:42 -07:00
commit 78de5c17ef
5 changed files with 80 additions and 2 deletions

View file

@ -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());