Description
in = get(blockToKey(block), byteRangeStart); out = new BufferedOutputStream(new FileOutputStream(fileBlock)); byte[] buf = new byte[bufferSize]; int numRead; while ((numRead = in.read(buf)) >= 0) {
get() may return null.
The while loop dereferences in without null check.
Attachments
Attachments
Issue Links
- breaks
-
HADOOP-12689 S3 filesystem operations stopped working correctly
- Resolved