1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-23 00:28:11 +00:00

added check for hash_len after calls to hlfmt_hash ()

This commit is contained in:
philsmd 2016-03-13 17:39:53 +01:00
parent 57f1a73f0d
commit 27ef5885f4

View File

@ -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;