Allocate thread_stat name arrays statically

Signed-off-by: Jens Axboe <axboe@kernel.dk>
diff --git a/stat.c b/stat.c
index 4bae576..564edf3 100644
--- a/stat.c
+++ b/stat.c
@@ -727,8 +727,9 @@
 			/*
 			 * These are per-group shared already
 			 */
-			ts->name = td->o.name;
-			ts->description = td->o.description;
+			strncpy(ts->name, td->o.name, FIO_JOBNAME_SIZE);
+			strncpy(ts->description, td->o.description,
+					FIO_JOBNAME_SIZE);
 			ts->groupid = td->groupid;
 
 			/*
@@ -750,10 +751,10 @@
 			if (!td->error && td->o.continue_on_error &&
 			    td->first_error) {
 				ts->error = td->first_error;
-				ts->verror = td->verror;
+				strcpy(ts->verror, td->verror);
 			} else  if (td->error) {
 				ts->error = td->error;
-				ts->verror = td->verror;
+				strcpy(ts->verror, td->verror);
 			}
 		}