projects
/
hashcat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27ef588
)
also add check for NULL pointers
author
philsmd
<philsmd@hashcat.net>
Sun, 13 Mar 2016 16:42:12 +0000
(17:42 +0100)
committer
philsmd
<philsmd@hashcat.net>
Sun, 13 Mar 2016 16:42:12 +0000
(17:42 +0100)
src/oclHashcat.c
patch
|
blob
|
history
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;