[ 
https://issues.apache.org/jira/browse/KYLIN-2804?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy Liu reassigned KYLIN-2804:
--------------------------------

    Assignee: zhengdong

> 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)

Reply via email to