jixuan1989 commented on pull request #1448:
URL: https://github.com/apache/incubator-iotdb/pull/1448#issuecomment-653832585


   SnappyUnCompressor.java 
   ```java
       @Override
       public int uncompress(byte[] byteArray, int offset, int length, byte[] 
output, int outOffset)
           throws IOException {
         Snappy.uncompressedLength(byteArray, offset, length);
         return Snappy.uncompress(byteArray, offset, length, output, outOffset);
       }
   ```
   `Snappy.uncompressedLength(byteArray, offset, length);` is not used... 
either remove it or check whether the length of the output[] satisfies.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to