mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-15 12:29:35 +00:00
Zero hashcat context pointer addresses on shutdown
This commit is contained in:
parent
30a190b174
commit
78999cff56
@ -110,6 +110,8 @@ void hashcat_ctx_destroy (hashcat_ctx_t *hashcat_ctx)
|
||||
myfree (hashcat_ctx->user_options_extra);
|
||||
myfree (hashcat_ctx->user_options);
|
||||
myfree (hashcat_ctx->wl_data);
|
||||
|
||||
memset (hashcat_ctx, 0, sizeof (hashcat_ctx_t));
|
||||
}
|
||||
|
||||
// inner2_loop iterates through wordlists, then calls kernel execution
|
||||
|
Loading…
Reference in New Issue
Block a user