1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-23 07:08:19 +00:00

Fixed buffer overflow in Stargazer Stellar Wallet XLM module

This commit is contained in:
Gabriele Gristina 2021-07-31 16:18:29 +02:00
parent d85a9b6025
commit 89234a5c7c
2 changed files with 4 additions and 3 deletions

View File

@ -14,6 +14,7 @@
- Fixed autotune unitialized tmps variable for slow hashes by calling _init kernel before calling _loop kernel
- Fixed datatype in function sha384_hmac_init_vector_128() that could come into effect if vector datatype was manually set
- Fixed false negative in all VeraCrypt hash-modes if both conditions are met: 1. use CPU for cracking and 2. PIM range was used
- Fixed buffer overflow in Stargazer Stellar Wallet XLM module
##
## Improvements

View File

@ -247,9 +247,9 @@ int module_hash_encode (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSE
// salt
#define SALT_LEN_BASE64 ((16 * 8) / 6) + 3
#define IV_LEN_BASE64 ((12 * 8) / 6) + 3
#define CT_LEN_BASE64 ((72 * 8) / 6) + 3
#define SALT_LEN_BASE64 ((16 * 8) / 6) + 3 + 1 // 25 vs 24
#define IV_LEN_BASE64 ((12 * 8) / 6) + 1 // 17 vs 16
#define CT_LEN_BASE64 ((72 * 8) / 6) + 1 // 97 vs 96
u8 salt_buf[SALT_LEN_BASE64] = { 0 };