mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 17:48:21 +00:00
Actually check if the number of fields in a write are equal to the
number of fields required. Addresses BIT-1683 I do not think this quite fixes the underlying issue of BIT-1683 - it should not be possible to get to this state in normal operations. Also fixes a small memory leak for disabled writers.
This commit is contained in:
parent
0bc4a5ea52
commit
038dfa6273
6 changed files with 144 additions and 4 deletions
|
@ -203,7 +203,7 @@ public:
|
|||
protected:
|
||||
friend class Manager;
|
||||
|
||||
void DeleteVals(threading::Value** vals);
|
||||
void DeleteVals(threading::Value** vals, int num_fields);
|
||||
|
||||
EnumVal* stream;
|
||||
EnumVal* writer;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue