aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@skynet.be>2009-01-08 14:05:11 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 12:42:26 -0300
commitd0ebf3073f8812464c9f6014d6cee09ab37c3fb5 (patch)
treecae1337ef45a319301a668c7cf16918283e6dbb4 /net
parent07f7db4ce7b29d431553b426e0dcb720c5297a4b (diff)
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 'net')
0 files changed, 0 insertions, 0 deletions