Skip to content

Commit 8a34d16

Browse files
committed
OnlineChecks: Fix crash
1 parent 1a113e2 commit 8a34d16

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

plugins/OnlineChecks/virustotal.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,9 @@ PVIRUSTOTAL_FILE_HASH_ENTRY VirusTotalGetCachedResultFromHash(
134134
{
135135
PVIRUSTOTAL_FILE_HASH_ENTRY extension = VirusTotalList->Items[i];
136136

137+
if (PhIsNullOrEmptyString(extension->FileHash))
138+
continue;
139+
137140
if (PhEqualString(extension->FileHash, FileHash, TRUE))
138141
{
139142
PhReleaseQueuedLockExclusive(&ProcessListLock);

0 commit comments

Comments
 (0)