Use strncpy() always copying labels.
authorJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Mon, 18 Nov 2013 16:04:03 +0000 (18:04 +0200)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Mon, 18 Nov 2013 16:04:03 +0000 (18:04 +0200)
commit0eee8f8b3efd153c5ef09c08244e189f0cda51a4
tree2cb9c2022e5d1efae78b8c2f426b3a24254a51d2
parent74f5b5c21a2ed9c0576c3c3ab3802d11d66098a9
Use strncpy() always copying labels.

Defence in depth and a good practice. Places an absolute limit
to the length copied.
libsmack/libsmack.c