Use strncpy() always copying labels.

Defence in depth and a good practice. Places an absolute limit
to the length copied.
Merge remote-tracking branch 'jarkkos/strcpy-fix'