mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
input/Manager: Improve type checks of record fields with type any
Calling AsRecordType() or AsFunc() on a Val of type any isn't safe. Closes #3836
This commit is contained in:
parent
0ba80d13b4
commit
3797622152
3 changed files with 70 additions and 1 deletions
|
@ -40,4 +40,12 @@ error: Input stream error3: Error event's first attribute must be of type Input:
|
|||
error: Input stream error4: Error event's second attribute must be of type string
|
||||
error: Input stream error5: Error event's third attribute must be of type Reporter::Level
|
||||
error: Input stream error6: 'destination' field is a table, but 'val' field is not provided (did you mean to use a set instead of a table?)
|
||||
error: Input stream types1: 'idx' field is not a record type
|
||||
error: Input stream types2: 'val' field is not a record type
|
||||
error: Input stream types3: 'destination' field has type string, expected table or set identifier
|
||||
error: Input stream types4: 'ev' field is not an event
|
||||
error: Input stream types5: 'error_ev' field is not an event
|
||||
error: Input stream types6: 'idx' field is not a record type
|
||||
error: Input stream types7: 'ev' field is not an event
|
||||
error: Input stream types8: 'error_ev' field is not an event
|
||||
received termination signal
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue