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)

Reply via email to