Bharat Viswanadham created HDDS-1883: ----------------------------------------
Summary: Handle negative cases in RandomKeyGenerator Key: HDDS-1883 URL: https://issues.apache.org/jira/browse/HDDS-1883 Project: Hadoop Distributed Data Store Issue Type: Bug Reporter: Bharat Viswanadham This Jira is created based on [~xyao] in the Jira HDDS-1863 review. should we add some parameter check before processing nrRemaining? E.g., keySize > 0, keySize > bufferSize, otherwise, if someone specify keySize < 0 or keySize< bufferSize, the nrRemaining and curSize can still be possible be negative. -- This message was sent by Atlassian JIRA (v7.6.14#76016) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org