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/08/22 22:44:00 UTC

[jira] [Created] (KYLIN-2804) Unchecked return value from Input#read() in PercentileCounterSerializer

Ted Yu created KYLIN-2804:
-----------------------------

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