mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-13 00:16:16 +00:00
Added null check to ExtractUNallocAction.getUnallocFiles()
This commit is contained in:
parent
616269bdc2
commit
a31034043b
@ -165,7 +165,7 @@ public final class ExtractUnallocAction extends AbstractAction {
|
||||
UnallocVisitor uv = new UnallocVisitor();
|
||||
try {
|
||||
List<Content> unallocFiles = c.getChildren();
|
||||
if (unallocFiles.isEmpty() == false) {
|
||||
if (null != unallocFiles && unallocFiles.isEmpty() == false) {
|
||||
return unallocFiles.get(0).accept(uv); //Launching it on the root directory
|
||||
}
|
||||
} catch (TskCoreException tce) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user