linux/drivers/media/dvb/ttusb-dec
Márton Németh b1858190fc 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/)

// <smpl>
@@
expression dev;
expression phys;
expression str;
expression size;
@@
 	usb_make_path(dev, phys, size);
-	strlcpy(phys, str, size);
+	strlcat(phys, str, size);
// </smpl>

Signed-off-by: Márton Németh <nm127@freemail.hu>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-12-05 18:41:45 -02:00
..
Kconfig V4L/DVB (10150): ttusb-dec: make it depend on PCI 2009-01-02 17:12:24 -02:00
Makefile
ttusb_dec.c V4L/DVB (13414): ttusb-dec: do not overwrite the first part of phys string 2009-12-05 18:41:45 -02:00
ttusbdecfe.c V4L/DVB (9040): TTUSB-DEC DVB-S: claim to have lock 2008-10-12 09:37:08 -02:00
ttusbdecfe.h