Iryna Kahamlyk created TINKERPOP-3321:
-----------------------------------------

             Summary: Replace the temporary GraphBinary length-prefix limits 
with a permanent solution
                 Key: TINKERPOP-3321
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-3321
             Project: TinkerPop
          Issue Type: Improvement
          Components: driver, io, server
    Affects Versions: 4.0.0
            Reporter: Iryna Kahamlyk
             Fix For: 4.0.0


[https://github.com/apache/tinkerpop/pull/3703] added a temporary fix to stop 
GraphBinary from allocating memory based on an unvalidated length prefix. It 
added configurable caps on how large values can be or expand to, including 
bulked lists. In GraphBinary 4, BulkSet was merged into List, and a bulked list 
sends each item once with a repeat count, so a few bytes can expand into 
millions of entries when read. A better solution should replace it.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to