mirror of
https://github.com/pocoproject/poco.git
synced 2026-01-02 19:02:11 +01:00
#3309: optimize parsing from stream (no copying of entire JSON to memory); limit maximum depth to avoid stack overflow with malicious documents (fuzzing - #3285); code cleanup
This commit is contained in:
@@ -138,10 +138,7 @@ void ParseHandler::setValue(const Var& value)
|
||||
_key.clear();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
throw JSONException("Attempt to set value on an empty stack");
|
||||
}
|
||||
else throw JSONException("Attempt to set value on an empty stack");
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user