added check for hash_len after calls to hlfmt_hash ()
authorphilsmd <philsmd@hashcat.net>
Sun, 13 Mar 2016 16:39:53 +0000 (17:39 +0100)
committerphilsmd <philsmd@hashcat.net>
Sun, 13 Mar 2016 16:39:53 +0000 (17:39 +0100)
src/oclHashcat.c

index 990ac90..292df88 100644 (file)
@@ -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;