commit | 9b2c06a4f91ce23141c58fbecb064235c06d699f | [log] [tgz] |
---|---|---|
author | Mauro Carvalho Chehab <m.chehab@samsung.com> | Mon Apr 07 10:39:23 2014 -0300 |
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | Tue Apr 08 11:00:52 2014 -0300 |
tree | f7e634b9aea052cefae6d1ca65cf4965473a2e71 | |
parent | bbe24c6759b341ab2504318e50ccd5482f5e6002 [diff] |
[media] stk1160: warrant a NUL terminated string strncpy() doesn't warrant a NUL terminated string. Use strlcpy() instead. Fixes Coverity bug CID#1195195. Acked-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>