mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 10:38:20 +00:00
BIT-1785: fix scripts able to access uninitialized variables.
This commit is contained in:
parent
3cfe8cd294
commit
c857f5c4dd
5 changed files with 38 additions and 0 deletions
|
@ -397,6 +397,7 @@ Val* BroFunc::Call(val_list* args, Frame* parent) const
|
|||
bodies[i].stmts->GetLocationInfo());
|
||||
|
||||
Unref(result);
|
||||
f->Reset(args->length());
|
||||
|
||||
try
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue