From 145e5fe141857c0757fdb5bb6909583aa67691b1 Mon Sep 17 00:00:00 2001 From: Jeff Garzik Date: Mon, 29 Nov 2010 12:21:03 -0500 Subject: [PATCH] submit_work: increase string buffer, to avoid overflow --- cpu-miner.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu-miner.c b/cpu-miner.c index e1d8a5d..a47d77a 100644 --- a/cpu-miner.c +++ b/cpu-miner.c @@ -179,7 +179,7 @@ static void submit_work(struct work *work) { char *hexstr = NULL; json_t *val, *res; - char s[256]; + char s[345]; printf("PROOF OF WORK FOUND? submitting...\n");