Fix use-after-free of hash_name
This commit is contained in:
+2
-2
@@ -35,8 +35,8 @@ double status_get_guess_mod_percent (const hashcat_ctx_t *hash
|
||||
char *status_get_guess_charset (const hashcat_ctx_t *hashcat_ctx);
|
||||
int status_get_guess_mask_length (const hashcat_ctx_t *hashcat_ctx);
|
||||
char *status_get_guess_candidates_dev (const hashcat_ctx_t *hashcat_ctx, const int device_id);
|
||||
const char *status_get_hash_type (const hashcat_ctx_t *hashcat_ctx);
|
||||
const char *status_get_hash_target (const hashcat_ctx_t *hashcat_ctx);
|
||||
char *status_get_hash_name (const hashcat_ctx_t *hashcat_ctx);
|
||||
char *status_get_hash_target (const hashcat_ctx_t *hashcat_ctx);
|
||||
int status_get_digests_done (const hashcat_ctx_t *hashcat_ctx);
|
||||
int status_get_digests_cnt (const hashcat_ctx_t *hashcat_ctx);
|
||||
double status_get_digests_percent (const hashcat_ctx_t *hashcat_ctx);
|
||||
|
||||
+2
-2
@@ -2056,8 +2056,8 @@ typedef struct device_info
|
||||
|
||||
typedef struct hashcat_status
|
||||
{
|
||||
const char *hash_target;
|
||||
const char *hash_type;
|
||||
char *hash_target;
|
||||
char *hash_name;
|
||||
int guess_mode;
|
||||
char *guess_base;
|
||||
int guess_base_offset;
|
||||
|
||||
Reference in New Issue
Block a user