mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 16:48:19 +00:00
Fix small bug: sets that are written to logfiles may only contain atomic types.
(trying to write sets of records, etc. leads to a bro segfault)
This commit is contained in:
parent
d1787523fc
commit
5e8dd4f06a
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ bool LogVal::IsCompatibleType(BroType* t, bool atomic_only)
|
||||||
if ( ! t->IsSet() )
|
if ( ! t->IsSet() )
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
return IsCompatibleType(t->AsSetType()->Indices()->PureType());
|
return IsCompatibleType(t->AsSetType()->Indices()->PureType(), true);
|
||||||
}
|
}
|
||||||
|
|
||||||
case TYPE_VECTOR:
|
case TYPE_VECTOR:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue