1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-23 04:54:26 +00:00

Prevent buffer overflow.

This commit is contained in:
Con Kolivas 2011-07-07 10:43:52 +10:00
parent 25bebf3b92
commit 186666d3d1

4
main.c
View File

@ -156,8 +156,8 @@ static int accepted, rejected;
int hw_errors;
static int total_queued;
static unsigned int getwork_requested = 0;
static char current_block[36];
static char blank[36];
static char current_block[37];
static char blank[37];
static void applog_and_exit(const char *fmt, ...)
{