mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-15 12:29:35 +00:00
Fix logfile buffer size
This commit is contained in:
parent
dc13c2fc71
commit
79b1f96efe
@ -6245,7 +6245,7 @@ int main (int argc, char **argv)
|
||||
|
||||
if (logfile_disable == 0)
|
||||
{
|
||||
size_t logfile_size = strlen (session) + 32;
|
||||
size_t logfile_size = strlen (session_dir) + 1 + strlen (session) + 32;
|
||||
|
||||
char *logfile = (char *) mymalloc (logfile_size);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user