projects
/
hashcat.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
also add check for NULL pointers
[hashcat.git]
/
src
/
oclHashcat.c
diff --git
a/src/oclHashcat.c
b/src/oclHashcat.c
index
292df88
..
cb3eb3f
100644
(file)
--- a/
src/oclHashcat.c
+++ b/
src/oclHashcat.c
@@
-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;