Browse Source

submit_work: increase string buffer, to avoid overflow

nfactor-troky
Jeff Garzik 14 years ago committed by Jeff Garzik
parent
commit
145e5fe141
  1. 2
      cpu-miner.c

2
cpu-miner.c

@ -179,7 +179,7 @@ static void submit_work(struct work *work)
{ {
char *hexstr = NULL; char *hexstr = NULL;
json_t *val, *res; json_t *val, *res;
char s[256]; char s[345];
printf("PROOF OF WORK FOUND? submitting...\n"); printf("PROOF OF WORK FOUND? submitting...\n");

Loading…
Cancel
Save