1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-02-02 02:41:35 +00:00

Merge pull request #1740 from Naufragous/session-bug

Fix duplicate brain session id bug
This commit is contained in:
Jens Steube 2018-10-29 15:05:37 +01:00 committed by GitHub
commit b8eb7105dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -124,7 +124,7 @@ u32 brain_compute_session (hashcat_ctx_t *hashcat_ctx)
qsort (out_bufs, out_idx, sizeof (char *), sort_by_string);
for (int i = 0; i < out_idx; i++)
for (int i = 0; i <= out_idx; i++)
{
const size_t out_len = strlen (out_bufs[out_idx]);