diff options
author | Jeff Garzik <jeff@garzik.org> | 2010-11-29 12:21:03 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2010-11-29 12:21:03 -0500 |
commit | 145e5fe141857c0757fdb5bb6909583aa67691b1 (patch) | |
tree | 08aa588f18681b1e2ceb407b192a8c1c129f02a1 /cpu-miner.c | |
parent | 74bb196296f8c56fd8925856ed59f05aa3850f9b (diff) |
submit_work: increase string buffer, to avoid overflow
Diffstat (limited to 'cpu-miner.c')
-rw-r--r-- | cpu-miner.c | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |