linux/drivers/media/dvb
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
..
b2c2 V4L/DVB (12294): b2c2: Use dvb-pll for Cablestar2 2009-09-12 12:17:52 -03:00
bt8xx V4L/DVB (12477): Use dst_type field instead of type_flags 2009-09-12 12:19:03 -03:00
dm1105 V4L/DVB (12595): common/ir: use a struct for keycode tables 2009-09-12 12:19:47 -03:00
dvb-core V4L/DVB (13271): TS speed check. Logging transport stream speed in Kbits per second 2009-12-05 18:41:11 -02:00
dvb-usb V4L/DVB (13376): cx-usb: add Mygica D689 DMB-TH USB support 2009-12-05 18:41:35 -02:00
firewire V4L/DVB (13410): firedtv: remove an unnecessary function argument 2009-12-05 18:41:44 -02:00
frontends V4L/DVB (13407): Add Prof 7301 PCI DVB-S2 card 2009-12-05 18:41:43 -02:00
pluto2 V4L/DVB (12483): Use DIV_ROUND_CLOSEST 2009-09-12 12:19:08 -03:00
pt1 V4L/DVB: pt1: remove duplicated #include 2009-12-05 18:41:43 -02:00
siano V4L/DVB (13380): sms-cards: make id unsigned in sms_get_board() 2009-12-05 18:41:36 -02:00
ttpci V4L/DVB (13361): stv090x: fix TS corruption with High Symbol Rate streams 2009-12-05 18:41:32 -02:00
ttusb-budget V4L/DVB (10149): ttusb-budget: make it depend on PCI 2009-01-02 17:12:21 -02:00
ttusb-dec V4L/DVB (13414): ttusb-dec: do not overwrite the first part of phys string 2009-12-05 18:41:45 -02:00
Kconfig V4L/DVB (12999): Add a driver for Earthsoft PT1 2009-09-19 00:51:41 -03:00
Makefile V4L/DVB (12999): Add a driver for Earthsoft PT1 2009-09-19 00:51:41 -03:00