diff --git a/src/outfile.c b/src/outfile.c index 1a9303b57..6b934bce1 100644 --- a/src/outfile.c +++ b/src/outfile.c @@ -436,6 +436,7 @@ int outfile_write (hashcat_ctx_t *hashcat_ctx, const char *out_buf, const unsign sprintf (tmp_buf + tmp_len, "%" PRIu64, crackpos); } + tmp_len += 20; // Required to include the text generated for crackpos. tmp_buf[tmp_len] = 0; if (outfile_ctx->fp != NULL)