mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-24 00:49:46 +02:00
JSON bug fixes
GH #241: SF #620 Endless loop in JSON parser (added Buffer::setCapacity) GH #242: SF #619 Syntax error in JSON parser (float/double trim)
This commit is contained in:
@@ -729,7 +729,7 @@ inline void Parser::assertNonContainer()
|
||||
|
||||
inline void Parser::growBuffer()
|
||||
{
|
||||
_parseBuffer.resize(_parseBuffer.size() * 2, true);
|
||||
_parseBuffer.setCapacity(_parseBuffer.size() * 2, true);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user