mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 15:27:53 +00:00
MMQ avoid possible number overrun crashes
This commit is contained in:
parent
152e7e36a2
commit
7993d258f8
@ -715,7 +715,7 @@ static bool modminer_fpga_init(struct thr_info *thr)
|
|||||||
|
|
||||||
static void get_modminer_statline_before(char *buf, struct cgpu_info *modminer)
|
static void get_modminer_statline_before(char *buf, struct cgpu_info *modminer)
|
||||||
{
|
{
|
||||||
char info[18];
|
char info[64];
|
||||||
|
|
||||||
sprintf(info, " %s%.1fC %3uMHz | ",
|
sprintf(info, " %s%.1fC %3uMHz | ",
|
||||||
(modminer->temp < 10) ? " " : "",
|
(modminer->temp < 10) ? " " : "",
|
||||||
|
Loading…
Reference in New Issue
Block a user