vis: use strncpy to copy into fixed sized buffer
commiteb5135b31932e6f63820b56dabb3d57ea9ad6b38
authorMarc André Tanner <mat@brain-dump.org>
Sun, 23 Jul 2017 15:27:56 +0000 (23 17:27 +0200)
committerMarc André Tanner <mat@brain-dump.org>
Sun, 23 Jul 2017 15:35:11 +0000 (23 17:35 +0200)
tree0c62b18101c4a3b398a93a3de57f67eaa6d0680a
parent33b0513d5e02019a777ec5e06c1a751fd7aeefaa
vis: use strncpy to copy into fixed sized buffer

In practice this was never an issue also it is guaranteed that the
terminating zero byte is already there.

Fixes coverity issue 157023.
vis.c