mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 18:17:43 +00:00
Modified Autopsy code to take into account that getParentInfo() can now return NULL
This commit is contained in:
parent
efcbbaf0d7
commit
93588af03a
@ -146,7 +146,12 @@ final class EncryptionDetectionDataSourceIngestModule implements DataSourceInges
|
||||
* Make an ingest inbox message.
|
||||
*/
|
||||
StringBuilder detailsSb = new StringBuilder("");
|
||||
detailsSb.append("File: ").append(volume.getParent().getUniquePath()).append(volume.getName());
|
||||
detailsSb.append("File: ");
|
||||
Content parentFile = volume.getParent();
|
||||
if (parentFile != null) {
|
||||
detailsSb.append(volume.getParent().getUniquePath());
|
||||
}
|
||||
detailsSb.append(volume.getName());
|
||||
if (artifactType.equals(BlackboardArtifact.ARTIFACT_TYPE.TSK_ENCRYPTION_SUSPECTED)) {
|
||||
detailsSb.append("<br/>\nEntropy: ").append(calculatedEntropy);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user