fix issues caused by replaceing strcpy() with safe_strncpy()

Signed-off-by: Lehner Florian <dev@der-flo.net>