Commit 7993d258f8df9ffd0dec8dd1a6fc7aa10b4ca5aa

Kano 2012-12-02T23:03:21

MMQ avoid possible number overrun crashes

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/driver-modminer.c b/driver-modminer.c
index 690b9b1..5a1b301 100644
--- a/driver-modminer.c
+++ b/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) ? " " : "",