git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbe24c6
)
[media] stk1160: warrant a NUL terminated string
author
Mauro Carvalho Chehab
<m.chehab@samsung.com>
Mon, 7 Apr 2014 13:39:23 +0000
(10:39 -0300)
committer
Mauro Carvalho Chehab
<m.chehab@samsung.com>
Tue, 8 Apr 2014 14:00:52 +0000
(11:00 -0300)
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>
No differences found