relay: use strscpy() is more robust and safer