[
https://issues.apache.org/jira/browse/FLINK-3362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ufuk Celebi closed FLINK-3362.
------------------------------
Resolution: Fixed
Good catch! Fixed via 6d83c9d.
> 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)