[coverity] 1543219 Dereference before null check

This commit is contained in:
akallabeth 2024-04-12 10:40:28 +02:00 committed by akallabeth
parent a8ce0aee29
commit 8f9707897c

View File

@ -561,6 +561,7 @@ size_t HashTable_GetKeys(wHashTable* table, ULONG_PTR** ppKeys)
iKey = 0;
count = table->numOfElements;
if (ppKeys)
*ppKeys = NULL;
if (count < 1)