From: philsmd Date: Sun, 13 Mar 2016 16:39:53 +0000 (+0100) Subject: added check for hash_len after calls to hlfmt_hash () X-Git-Tag: v3.00-beta~176^2~2 X-Git-Url: https://www.flypig.org.uk/git/?a=commitdiff_plain;h=27ef5885f4ecae9534aae4e3c0dacc226bca1592;p=hashcat.git added check for hash_len after calls to hlfmt_hash () --- 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;