1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-01-22 21:51:07 +00:00

Fix EAPOL temporary buffer overflow in -m 22000 and -m 22001

This commit is contained in:
Jens Steube 2019-12-22 10:35:40 +01:00
parent c9b4e796b0
commit 81903e95ee
2 changed files with 2 additions and 2 deletions

View File

@ -433,7 +433,7 @@ int module_hash_binary_save (MAYBE_UNUSED const hashes_t *hashes, MAYBE_UNUSED c
eapol_swapped[64] = 0;
eapol_swapped[65] = 0;
char tmp2_buf[384];
char tmp2_buf[1024];
const int tmp2_len = hex_encode ((const u8 *) eapol_swapped, wpa->eapol_len, (u8 *) tmp2_buf);

View File

@ -434,7 +434,7 @@ int module_hash_binary_save (MAYBE_UNUSED const hashes_t *hashes, MAYBE_UNUSED c
eapol_swapped[64] = 0;
eapol_swapped[65] = 0;
char tmp2_buf[384];
char tmp2_buf[1024];
const int tmp2_len = hex_encode ((const u8 *) eapol_swapped, wpa->eapol_len, (u8 *) tmp2_buf);