mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 16:48:19 +00:00
Crashing bug in WriterBackend when deserializing WriterInfo where config
is present. Testcase crashes on unpatched versions of Bro. Found by Aaron Eppert <aeppert@gmail.com>. This (probably) fixes the crash issue with sqlite a few people have reported on the mailing list in the past.
This commit is contained in:
parent
d63dfb0c6f
commit
ee290c3d7a
5 changed files with 124 additions and 1 deletions
|
@ -84,7 +84,7 @@ bool WriterBackend::WriterInfo::Read(SerializationFormat* fmt)
|
|||
|
||||
config.clear();
|
||||
|
||||
while ( size )
|
||||
while ( size-- )
|
||||
{
|
||||
string value;
|
||||
string key;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue