mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-22 16:18:09 +00:00
Merge pull request #3363 from ventaquil/fix-hash-info-output
Increase event buffers sizes
This commit is contained in:
commit
8e200e8eb6
@ -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;
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user