1
0
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:
jsteube 2016-01-03 13:31:40 +01:00
parent dc13c2fc71
commit 79b1f96efe

View File

@ -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);