mirror of
https://github.com/GOSTSec/sgminer
synced 2025-02-02 10:04:33 +00:00
Prevent buffer overflow.
This commit is contained in:
parent
25bebf3b92
commit
186666d3d1
4
main.c
4
main.c
@ -156,8 +156,8 @@ static int accepted, rejected;
|
|||||||
int hw_errors;
|
int hw_errors;
|
||||||
static int total_queued;
|
static int total_queued;
|
||||||
static unsigned int getwork_requested = 0;
|
static unsigned int getwork_requested = 0;
|
||||||
static char current_block[36];
|
static char current_block[37];
|
||||||
static char blank[36];
|
static char blank[37];
|
||||||
|
|
||||||
static void applog_and_exit(const char *fmt, ...)
|
static void applog_and_exit(const char *fmt, ...)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user