1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-22 14:48:12 +00:00

Increase event buffers sizes

Fixes GH-3359
This commit is contained in:
Konrad Goławski 2022-07-03 14:55:35 +02:00
parent 364f1438a8
commit a15fa2014c
2 changed files with 3 additions and 3 deletions

View File

@ -2798,11 +2798,11 @@ typedef struct hashlist_parse
typedef struct event_ctx
{
char old_buf[MAX_OLD_EVENTS][HCBUFSIZ_SMALL];
char old_buf[MAX_OLD_EVENTS][HCBUFSIZ_LARGE];
size_t old_len[MAX_OLD_EVENTS];
int old_cnt;
char msg_buf[HCBUFSIZ_SMALL];
char msg_buf[HCBUFSIZ_LARGE];
size_t msg_len;
bool msg_newline;

View File

@ -231,7 +231,7 @@ size_t event_log_info (hashcat_ctx_t *hashcat_ctx, const char *fmt, ...)
va_start (ap, fmt);
event_ctx->msg_len = event_log (fmt, ap, event_ctx->msg_buf, HCBUFSIZ_SMALL - 1);
event_ctx->msg_len = event_log (fmt, ap, event_ctx->msg_buf, HCBUFSIZ_LARGE - 1);
va_end (ap);
}