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

also add check for NULL pointers

This commit is contained in:
philsmd 2016-03-13 17:42:12 +01:00
parent 27ef5885f4
commit b76495e0f5

View File

@ -11144,6 +11144,8 @@ int main (int argc, char **argv)
if (hash_len < 1) continue; if (hash_len < 1) continue;
if (hash_buf == NULL) continue;
if (username) if (username)
{ {
char *user_buf = NULL; char *user_buf = NULL;