BIT-1785: fix scripts able to access uninitialized variables.

This commit is contained in:
Jon Siwek 2017-02-06 23:30:54 -06:00
parent 3cfe8cd294
commit c857f5c4dd
5 changed files with 38 additions and 0 deletions

View file

@ -397,6 +397,7 @@ Val* BroFunc::Call(val_list* args, Frame* parent) const
bodies[i].stmts->GetLocationInfo());
Unref(result);
f->Reset(args->length());
try
{