mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-26 18:08:20 +00:00
added check for hash_len after calls to hlfmt_hash ()
This commit is contained in:
parent
57f1a73f0d
commit
27ef5885f4
@ -11142,6 +11142,8 @@ int main (int argc, char **argv)
|
||||
|
||||
hlfmt_hash (hashlist_format, line_buf, line_len, &hash_buf, &hash_len);
|
||||
|
||||
if (hash_len < 1) continue;
|
||||
|
||||
if (username)
|
||||
{
|
||||
char *user_buf = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user