Ted Yu created FLINK-3362:
-----------------------------

             Summary: Potential overflow in 
NettyBufferPool#getNumberOfAllocatedBytes
                 Key: FLINK-3362
                 URL: https://issues.apache.org/jira/browse/FLINK-3362
             Project: Flink
          Issue Type: Bug
            Reporter: Ted Yu
            Priority: Minor


Here is related code:

      long allocatedBytes = numChunks * chunkSize;

The evaluation of numChunks * chunkSize is done using 32-bit arithmetic.
This may result in overflow since the expected type of expression is long.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to