Browse Source

MMQ avoid possible number overrun crashes

Kano 13 years ago
parent
commit
7993d258f8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      driver-modminer.c

+ 1 - 1
driver-modminer.c

@@ -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)
 {
-	char info[18];
+	char info[64];
 
 	sprintf(info, " %s%.1fC %3uMHz  | ",
 			(modminer->temp < 10) ? " " : "",