Ivan Daschinsky created IGNITE-18584:
----------------------------------------

             Summary: Possible memory errors and corruptions because of 
insufficient size of compression buffer.
                 Key: IGNITE-18584
                 URL: https://issues.apache.org/jira/browse/IGNITE-18584
             Project: Ignite
          Issue Type: Bug
            Reporter: Ivan Daschinsky


{{org.apache.ignite.internal.processors.compress.CompressionProcessorImpl#compressBuf}}
 is initialized with 1024 extra space, that may be not enough for compressing.
I.e. snappy requires 2762 extra space for 16K pages.

The overhead must be calculated during the initialization with help of 
specialized methods, such as 

{{Snappy#maxCompressedLength}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to