From: Hans de Goede Date: Sun, 5 Jun 2011 17:58:46 +0000 (-0300) Subject: [media] gspca: s/strncpy/strlcpy/ X-Git-Tag: v3.1-rc1~116^2~169 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7d712cc992a3f22151f15263cbacbb2d38dd371;p=pandora-kernel.git [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 Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed