1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-01-10 15:51:10 +00:00

Fixed buffer overflow in status screen display in case of long non-utf8 string

This commit is contained in:
Jens Steube 2016-12-31 15:10:53 +01:00
parent b0ff13b496
commit feb6d4f740
2 changed files with 3 additions and 2 deletions

View File

@ -20,6 +20,7 @@
## Bugs
##
- Fixed buffer overflow in status screen display in case of long non-utf8 string
- Fixed custom char parsing code in maskfiles in --increment mode: Custom charset wasn't used
- Fixed double fclose() using AMDGPU-Pro on sysfs compatible platform: Leading to segfault
- Fixed hex output of plaintext in case --outfile-format 4, 5, 6 or 7 was used

View File

@ -723,8 +723,8 @@ char *status_get_input_candidates_dev (const hashcat_ctx_t *hashcat_ctx, const i
plain_t plain1 = { 0, 0, 0, outerloop_first, innerloop_first };
plain_t plain2 = { 0, 0, 0, outerloop_last, innerloop_last };
u32 plain_buf1[16] = { 0 };
u32 plain_buf2[16] = { 0 };
u32 plain_buf1[32] = { 0 };
u32 plain_buf2[32] = { 0 };
u8 *plain_ptr1 = (u8 *) plain_buf1;
u8 *plain_ptr2 = (u8 *) plain_buf2;