commit | e7d712cc992a3f22151f15263cbacbb2d38dd371 | [log] [tgz] |
---|---|---|
author | Hans de Goede <hdegoede@redhat.com> | Sun Jun 05 14:58:46 2011 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Wed Jul 27 17:53:42 2011 -0300 |
tree | a1b417bfb6213d1f4ada160ab1cdccba489e36aa | |
parent | 2f2ea0f3f25effeaf0d27f5aaad591281fad27e2 [diff] |
[media] gspca: s/strncpy/strlcpy/ Just like in userspace strncpy does not guarantee 0 termination. Use strlcpy instead which does guarantee 0 termination. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>