Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Later
-
None
-
None
-
None
-
None
Description
In RBlockState ctor,
DataInputStream tempDataInputStream = new DataInputStream(boundedRangeFileInputStream); // Read the init vector from the front of the stream before initializing the cipher stream int ivLength = tempDataInputStream.readInt(); byte[] initVector = new byte[ivLength]; tempDataInputStream.readFully(initVector);
tempDataInputStream should be closed.
Closing boundedRangeFileInputStream and inputStreamToBeCompressed should be considered as well.
Attachments
Issue Links
- duplicates
-
ACCUMULO-1362 Eclipse warns about unclosed resources
- Resolved