• #1349 introduced a limit on the maximum size of arrays and dictionaries
    contained in objects that generate errors during parsing, and #1354
    reduced that limit to 5000 objects. However, the limit was only imposed
    once a further error was encountered.
    
    Stop adding objects to containers once the limit is reached.
    
    Fixes oss-fuzz issue 398060137
    m-holger authored
     
    Browse Dir »

  • Remove member encoded and encode strings only when required.
    
    Encoded is only used when writing JSON. Since most JSON writing is now
    done on the fly without creating a JSON representation, creating and
    storing the encoded string in almost all cases no longer serves any
    purpose.
    m-holger authored
     
    Browse Dir »