i2c: strncpy does not null terminate string
strlcpy() will always null terminate the string. Signed-off-by: NRoel Kluin <roel.kluin@gmail.com> Signed-off-by: NBen Dooks <ben-linux@fluff.org>
Showing
想要评论请 注册 或 登录
strlcpy() will always null terminate the string. Signed-off-by: NRoel Kluin <roel.kluin@gmail.com> Signed-off-by: NBen Dooks <ben-linux@fluff.org>