[
https://issues.apache.org/jira/browse/HDDS-1883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Prashant Pogde updated HDDS-1883:
---------------------------------
Target Version/s: 1.2.0 (was: 1.1.0)
> 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
> Components: test
> Reporter: Bharat Viswanadham
> Priority: Major
>
> 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
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]