1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-23 00:28:11 +00:00

Merge pull request #2523 from magnumripper/master

-m 21200 bugfix: Array declared too small.
This commit is contained in:
Jens Steube 2020-08-17 09:49:30 +02:00 committed by GitHub
commit 64ade551c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -114,7 +114,7 @@ int module_hash_decode (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSE
sha1_update (&sha1_ctx, s, salt->salt_len); sha1_update (&sha1_ctx, s, salt->salt_len);
sha1_final (&sha1_ctx); sha1_final (&sha1_ctx);
u32 pc[4]; u32 pc[5];
pc[0] = byte_swap_32 (sha1_ctx.h[0]); pc[0] = byte_swap_32 (sha1_ctx.h[0]);
pc[1] = byte_swap_32 (sha1_ctx.h[1]); pc[1] = byte_swap_32 (sha1_ctx.h[1]);