Browse Source

Merge commit 'bb7bd76' into bfgminer-3.5.x

Luke Dashjr 12 years ago
parent
commit
0a66d6ca83
1 changed files with 1 additions and 1 deletions
  1. 1 1
      miner.c

+ 1 - 1
miner.c

@@ -3602,7 +3602,7 @@ void _wlog(const char *str)
 		char *s;
 		
 		newline = true;
-		s = alloca(end);
+		s = alloca(end + 1);
 		memcpy(s, str, end);
 		s[end] = '\0';
 		str = s;