also add check for NULL pointers
[hashcat.git] / src / oclHashcat.c
index 292df88..cb3eb3f 100644 (file)
@@ -11144,6 +11144,8 @@ int main (int argc, char **argv)
 
           if (hash_len < 1) continue;
 
+          if (hash_buf == NULL) continue;
+
           if (username)
           {
             char *user_buf = NULL;