From 27ef5885f4ecae9534aae4e3c0dacc226bca1592 Mon Sep 17 00:00:00 2001 From: philsmd Date: Sun, 13 Mar 2016 17:39:53 +0100 Subject: [PATCH] added check for hash_len after calls to hlfmt_hash () --- src/oclHashcat.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/oclHashcat.c b/src/oclHashcat.c index 990ac90..292df88 100644 --- a/src/oclHashcat.c +++ b/src/oclHashcat.c @@ -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; -- 2.43.0