mirror of
https://github.com/hashcat/hashcat.git
synced 2025-01-11 00:01:16 +00:00
Fix buffer overflow in module_hash_encode() in hash-mode 13600
This commit is contained in:
parent
c9fdb34698
commit
42e7fa1303
@ -364,7 +364,7 @@ int module_hash_encode (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSE
|
|||||||
|
|
||||||
const u32 data_len = zip2->data_len;
|
const u32 data_len = zip2->data_len;
|
||||||
|
|
||||||
char data_tmp[8192 + 1] = { 0 };
|
char data_tmp[16384 + 1] = { 0 };
|
||||||
|
|
||||||
for (u32 i = 0, j = 0; i < data_len; i += 1, j += 2)
|
for (u32 i = 0, j = 0; i < data_len; i += 1, j += 2)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user