From 79b1f96efe6b4999e2d4c85517347bc594395bbe Mon Sep 17 00:00:00 2001 From: jsteube Date: Sun, 3 Jan 2016 13:31:40 +0100 Subject: [PATCH] Fix logfile buffer size --- src/oclHashcat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/oclHashcat.c b/src/oclHashcat.c index 3b3272251..669470ed0 100644 --- a/src/oclHashcat.c +++ b/src/oclHashcat.c @@ -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);