mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 07:38:19 +00:00
Fixing a few cases of undefined behaviour introduced by recent
formatter work. Thanks, Coverity!
This commit is contained in:
parent
17f9d0a47d
commit
8b241947d6
7 changed files with 21 additions and 15 deletions
|
@ -212,7 +212,7 @@ bool JSON::Describe(ODesc* desc, Value* val, const string& name) const
|
|||
return true;
|
||||
}
|
||||
|
||||
threading::Value* JSON::ParseValue(string s, string name, TypeTag type, TypeTag subtype) const
|
||||
threading::Value* JSON::ParseValue(const string& s, const string& name, TypeTag type, TypeTag subtype) const
|
||||
{
|
||||
GetThread()->Error("JSON formatter does not support parsing yet.");
|
||||
return NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue