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:
Johanna Amann 2015-02-23 13:54:44 -08:00
parent d63dfb0c6f
commit ee290c3d7a
5 changed files with 124 additions and 1 deletions

View file

@ -84,7 +84,7 @@ bool WriterBackend::WriterInfo::Read(SerializationFormat* fmt)
config.clear();
while ( size )
while ( size-- )
{
string value;
string key;