You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2017/09/07 20:09:00 UTC
[jira] [Resolved] (KYLIN-2804) Unchecked return value from
Input#read() in PercentileCounterSerializer
[ https://issues.apache.org/jira/browse/KYLIN-2804?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ted Yu resolved KYLIN-2804.
---------------------------
Resolution: Not A Problem
> Unchecked return value from Input#read() in PercentileCounterSerializer
> -----------------------------------------------------------------------
>
> Key: KYLIN-2804
> URL: https://issues.apache.org/jira/browse/KYLIN-2804
> Project: Kylin
> Issue Type: Bug
> Reporter: Ted Yu
> Assignee: zhengdong
> Priority: Minor
>
> {code}
> byte[] buffer = new byte[length];
> input.read(buffer);
> {code}
> length bytes are allocated.
> The return value from read() should be checked against length.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)