mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
GH-161: fix segfault in &default type checking for sets
Fixes GH-161
This commit is contained in:
parent
02783692d8
commit
cada0d5e6e
5 changed files with 12 additions and 1 deletions
|
@ -292,6 +292,7 @@ void Attributes::CheckAttr(Attr* a)
|
|||
}
|
||||
|
||||
a->AttrExpr()->Error("&default value has inconsistent type", type);
|
||||
return;
|
||||
}
|
||||
|
||||
TableType* tt = type->AsTableType();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue