You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2017/09/08 19:20:00 UTC
[jira] [Updated] (FLINK-7402) Ineffective null check in
NettyMessage#write()
[ https://issues.apache.org/jira/browse/FLINK-7402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ted Yu updated FLINK-7402:
--------------------------
Description:
Here is the null check in finally block:
{code}
finally {
if (buffer != null) {
buffer.recycle();
}
{code}
But buffer has been dereferenced in the try block without guard.
was:
Here is the null check in finally block:
{code}
finally {
if (buffer != null) {
buffer.recycle();
}
{code}
But buffer has been dereferenced in the try block without guard.
> Ineffective null check in NettyMessage#write()
> ----------------------------------------------
>
> Key: FLINK-7402
> URL: https://issues.apache.org/jira/browse/FLINK-7402
> Project: Flink
> Issue Type: Bug
> Components: Network
> Reporter: Ted Yu
> Priority: Minor
>
> Here is the null check in finally block:
> {code}
> finally {
> if (buffer != null) {
> buffer.recycle();
> }
> {code}
> But buffer has been dereferenced in the try block without guard.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)