diff options
author | Laurent Pinchart <laurent.pinchart@skynet.be> | 2009-01-08 14:05:11 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-30 12:42:26 -0300 |
commit | d0ebf3073f8812464c9f6014d6cee09ab37c3fb5 (patch) | |
tree | cae1337ef45a319301a668c7cf16918283e6dbb4 /usr | |
parent | 07f7db4ce7b29d431553b426e0dcb720c5297a4b (diff) | |
download | linux-d0ebf3073f8812464c9f6014d6cee09ab37c3fb5.tar.gz linux-d0ebf3073f8812464c9f6014d6cee09ab37c3fb5.tar.bz2 linux-d0ebf3073f8812464c9f6014d6cee09ab37c3fb5.zip |
V4L/DVB (10293): uvcvideo: replace strn{cpy,cat} with strl{cpy,cat}.
strncpy is unsafe as it doesn't append a terminating NUL character when the
source string doesn't fit in the destination buffer. Replace it with strlcpy.
strncat is misused as its size argument refers to the source string, not the
destination buffer. Replace it with strlcat.
Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions