mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-15 01:07:42 +00:00
Merge pull request #1570 from mhmdfy/hashdb-null-pointer
Hashdb null pointer
This commit is contained in:
commit
780f0fa2ce
@ -88,7 +88,7 @@ public class HashDbIngestModule implements FileIngestModule {
|
||||
|
||||
if (refCounter.incrementAndGet(jobId) == 1) {
|
||||
// if first module for this job then post error msgs if needed
|
||||
|
||||
|
||||
if (knownBadHashSets.isEmpty()) {
|
||||
services.postMessage(IngestMessage.createWarningMessage(
|
||||
HashLookupModuleFactory.getModuleName(),
|
||||
@ -336,7 +336,8 @@ public class HashDbIngestModule implements FileIngestModule {
|
||||
|
||||
private static synchronized void postSummary(long jobId,
|
||||
List<HashDb> knownBadHashSets, List<HashDb> knownHashSets) {
|
||||
IngestJobTotals jobTotals = totalsForIngestJobs.remove(jobId);
|
||||
IngestJobTotals jobTotals = getTotalsForIngestJobs(jobId);
|
||||
totalsForIngestJobs.remove(jobId);
|
||||
|
||||
if ((!knownBadHashSets.isEmpty()) || (!knownHashSets.isEmpty())) {
|
||||
StringBuilder detailsSb = new StringBuilder();
|
||||
|
Loading…
x
Reference in New Issue
Block a user