Skip to content
Snippets Groups Projects
Commit 8463ad57 authored by Richard Cordovano's avatar Richard Cordovano
Browse files

Merge remote-tracking branch 'upstream/release-4.6.6' into develop

parents 47d0b2a0 74b48a70
No related branches found
No related tags found
No related merge requests found
......@@ -129,7 +129,9 @@ public int read(byte[] buf, long offset, long len) throws TskCoreException {
int totalBytesRead = 0;
ByteBuffer data = ByteBuffer.wrap(buf);
try {
fileChannel = FileChannel.open(pathAsPath, READ);
if (fileChannel == null) {
fileChannel = FileChannel.open(pathAsPath, READ);
}
fileChannel.position(offset);
int bytesRead = 0;
do {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment