From 07837072f1ad80a6f97b6d9db1ce66a3d0a03647 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Mon, 14 Oct 2013 12:12:01 +1100 Subject: [PATCH] hexstr is too small in test_work_current --- cgminer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cgminer.c b/cgminer.c index 40cb2afb..f406f880 100644 --- a/cgminer.c +++ b/cgminer.c @@ -4004,7 +4004,7 @@ static void set_blockdiff(const struct work *work) static bool test_work_current(struct work *work) { bool ret = true; - char hexstr[20]; + char hexstr[40]; if (work->mandatory) return ret;