CINE: Avoid possible string buffer overrun by using strlcpy and strlcat