mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-10-24 03:53:18 +08:00
fix security hole for string-key-lengths > 2^30
This commit is contained in:
@@ -191,8 +191,6 @@ void Value::CommentInfo::setComment(const char* text, size_t len) {
|
||||
|
||||
// Notes: policy_ indicates if the string was allocated when
|
||||
// a string is stored.
|
||||
//
|
||||
// TODO: Check for length > 1GB, in Reader.
|
||||
|
||||
Value::CZString::CZString(ArrayIndex index) : cstr_(0), index_(index) {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user