1
mirror of https://github.com/hashcat/hashcat synced 2024-11-20 23:27:31 +01:00

Merge pull request #3686 from matrix/fix_bof_26600

Fixed buffer overflow on module_26600.c / module_hash_encode()
This commit is contained in:
Jens Steube 2023-04-24 16:51:05 +02:00 committed by GitHub
commit a9d843870d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -59,6 +59,7 @@
- Fixed incompatible pointer types (salt1 and salt2 buf) in 31700 a3 kernel
- Fixed incompatible pointer types (salt1 and salt2 buf) in 3730 a3 kernel
- Handle signed/unsigned PDF permission P value for all PDF hash-modes
- Fixed buffer overflow on module_26600.c / module_hash_encode()
##
## Technical

View File

@ -291,7 +291,7 @@ int module_hash_encode (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSE
if ((ct_len % 4) > 0) j++;
u32 tmp_buf[784] = { 0 };
u32 tmp_buf[788] = { 0 };
for (u32 i = 0; i < j; i++) tmp_buf[i] = byte_swap_32 (metamask->ct_buf[i]);