mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-27 02:18:21 +00:00
Don't cause memory leaks...
This commit is contained in:
parent
fddfd835d2
commit
6558253d72
@ -288,7 +288,7 @@ void check_hash (hashcat_ctx_t *hashcat_ctx, hc_device_param_t *device_param, pl
|
|||||||
plain_len = strlen ((const char *) temp_buf);
|
plain_len = strlen ((const char *) temp_buf);
|
||||||
|
|
||||||
// copy the base32 content into our plain buffer
|
// copy the base32 content into our plain buffer
|
||||||
plain_ptr = (u8 *) strdup ((const char *) temp_ptr);
|
strncpy ((char *) plain_ptr, (char *) temp_ptr, sizeof (plain_buf));
|
||||||
}
|
}
|
||||||
|
|
||||||
// crackpos
|
// crackpos
|
||||||
|
Loading…
Reference in New Issue
Block a user