mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-13 16:36:15 +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();
|
UnallocVisitor uv = new UnallocVisitor();
|
||||||
try {
|
try {
|
||||||
List<Content> unallocFiles = c.getChildren();
|
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
|
return unallocFiles.get(0).accept(uv); //Launching it on the root directory
|
||||||
}
|
}
|
||||||
} catch (TskCoreException tce) {
|
} catch (TskCoreException tce) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user