From: Márton Németh Date: Sat, 21 Nov 2009 16:46:12 +0000 (-0300) Subject: V4L/DVB (13414): ttusb-dec: do not overwrite the first part of phys string X-Git-Tag: v2.6.33-rc1~338^2~92 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1858190fc0180df70e9e7bab24a679129643f43;p=pandora-kernel.git V4L/DVB (13414): ttusb-dec: do not overwrite the first part of phys string Use strlcat() to append a string to the previously created first part. The semantic match that finds this kind of problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression dev; expression phys; expression str; expression size; @@ usb_make_path(dev, phys, size); - strlcpy(phys, str, size); + strlcat(phys, str, size); // Signed-off-by: Márton Németh Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed