mirror of
https://github.com/hashcat/hashcat.git
synced 2025-01-11 08:10:59 +00:00
Fixed pointer to local outside scope when using -j or -k
This commit is contained in:
parent
05230bd7f9
commit
dc2ecc9dae
@ -49,6 +49,7 @@
|
|||||||
- Fixed WPA/WPA2 cracking in case eapol frame is >= 248 byte
|
- Fixed WPA/WPA2 cracking in case eapol frame is >= 248 byte
|
||||||
- Fixed string not null terminated inside workaround for checking drm driver path
|
- Fixed string not null terminated inside workaround for checking drm driver path
|
||||||
- Fixed string not null terminated when reading maskfiles
|
- Fixed string not null terminated when reading maskfiles
|
||||||
|
- Fixed pointer to local outside scope when using -j or -k
|
||||||
|
|
||||||
##
|
##
|
||||||
## Technical
|
## Technical
|
||||||
|
@ -150,10 +150,10 @@ static int calc_stdin (hashcat_ctx_t *hashcat_ctx, hc_device_param_t *device_par
|
|||||||
|
|
||||||
// post-process rule engine
|
// post-process rule engine
|
||||||
|
|
||||||
|
char rule_buf_out[BLOCK_SIZE] = { 0 };
|
||||||
|
|
||||||
if (run_rule_engine ((int) user_options_extra->rule_len_l, user_options->rule_buf_l))
|
if (run_rule_engine ((int) user_options_extra->rule_len_l, user_options->rule_buf_l))
|
||||||
{
|
{
|
||||||
char rule_buf_out[BLOCK_SIZE] = { 0 };
|
|
||||||
|
|
||||||
int rule_len_out = -1;
|
int rule_len_out = -1;
|
||||||
|
|
||||||
if (line_len < BLOCK_SIZE)
|
if (line_len < BLOCK_SIZE)
|
||||||
@ -453,10 +453,10 @@ static int calc (hashcat_ctx_t *hashcat_ctx, hc_device_param_t *device_param)
|
|||||||
|
|
||||||
// post-process rule engine
|
// post-process rule engine
|
||||||
|
|
||||||
|
char rule_buf_out[BLOCK_SIZE] = { 0 };
|
||||||
|
|
||||||
if (run_rule_engine ((int) user_options_extra->rule_len_l, user_options->rule_buf_l))
|
if (run_rule_engine ((int) user_options_extra->rule_len_l, user_options->rule_buf_l))
|
||||||
{
|
{
|
||||||
char rule_buf_out[BLOCK_SIZE] = { 0 };
|
|
||||||
|
|
||||||
int rule_len_out = -1;
|
int rule_len_out = -1;
|
||||||
|
|
||||||
if (line_len < BLOCK_SIZE)
|
if (line_len < BLOCK_SIZE)
|
||||||
|
Loading…
Reference in New Issue
Block a user