mirror of
https://github.com/elisspace/autopsy.git
synced 2026-09-28 13:30:00 +00:00
Merge branch 'master' of https://github.com/sleuthkit/autopsy
This commit is contained in:
@@ -254,7 +254,19 @@ public class ExtractIE extends Extract implements IngestModuleImage {
|
||||
break;
|
||||
}
|
||||
Content fav = recentFile;
|
||||
JLNK lnk = new JLnkParser(new ReadContentInputStream(fav), (int) fav.getSize()).parse();
|
||||
if (fav.getSize() == 0) {
|
||||
continue;
|
||||
}
|
||||
JLNK lnk = null;
|
||||
JLnkParser lnkParser = new JLnkParser(new ReadContentInputStream(fav), (int) fav.getSize());
|
||||
try {
|
||||
lnk = lnkParser.parse();
|
||||
}
|
||||
catch (Exception e) {
|
||||
//TODO should throw a specific checked exception
|
||||
logger.log(Level.SEVERE, "Error lnk parsing the file to get recent files" + recentFile);
|
||||
continue;
|
||||
}
|
||||
String path = lnk.getBestPath();
|
||||
Long datetime = recentFile.getCrtime();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user