1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-23 00:28:11 +00:00

Fixed a missing check for returncode in case hashcat.hcstat2 was not found

This commit is contained in:
jsteube 2018-02-07 18:47:55 +01:00
parent bee0d75a3e
commit bb401c9cec
2 changed files with 4 additions and 1 deletions

View File

@ -27,6 +27,7 @@
- Fixed a hash parsing problem for 7-Zip hashes: allow a longer crc32 data length field within the hash format - Fixed a hash parsing problem for 7-Zip hashes: allow a longer crc32 data length field within the hash format
- Fixed a hash parsing problem when using --show/--left with hashes with long salts that required pure kernels - Fixed a hash parsing problem when using --show/--left with hashes with long salts that required pure kernels
- Fixed a mask-length check issue: Return -1 in case the mask-length is not within the password-length range - Fixed a mask-length check issue: Return -1 in case the mask-length is not within the password-length range
- Fixed a missing check for returncode in case hashcat.hcstat2 was not found
- Fixed a restore issue leading to "Restore value is greater than keyspace" when mask-files or wordlist-folders were used - Fixed a restore issue leading to "Restore value is greater than keyspace" when mask-files or wordlist-folders were used
- Fixed a uninitialized value in OpenCL kernels 9720, 9820 and 10420 leading to absurd benchmark performance - Fixed a uninitialized value in OpenCL kernels 9720, 9820 and 10420 leading to absurd benchmark performance
- Fixed invalid support for SIMD in -m 400 - Fixed invalid support for SIMD in -m 400

View File

@ -1387,7 +1387,9 @@ int mask_ctx_init (hashcat_ctx_t *hashcat_ctx)
mask_ctx->root_table_buf = (hcstat_table_t *) hccalloc (SP_ROOT_CNT, sizeof (hcstat_table_t)); mask_ctx->root_table_buf = (hcstat_table_t *) hccalloc (SP_ROOT_CNT, sizeof (hcstat_table_t));
mask_ctx->markov_table_buf = (hcstat_table_t *) hccalloc (SP_MARKOV_CNT, sizeof (hcstat_table_t)); mask_ctx->markov_table_buf = (hcstat_table_t *) hccalloc (SP_MARKOV_CNT, sizeof (hcstat_table_t));
sp_setup_tbl (hashcat_ctx); const int rc = sp_setup_tbl (hashcat_ctx);
if (rc == -1) return -1;
mask_ctx->root_css_buf = (cs_t *) hccalloc (SP_PW_MAX, sizeof (cs_t)); mask_ctx->root_css_buf = (cs_t *) hccalloc (SP_PW_MAX, sizeof (cs_t));
mask_ctx->markov_css_buf = (cs_t *) hccalloc (SP_PW_MAX * CHARSIZ, sizeof (cs_t)); mask_ctx->markov_css_buf = (cs_t *) hccalloc (SP_PW_MAX * CHARSIZ, sizeof (cs_t));