summaryrefslogtreecommitdiffstats
path: root/drivers/ide/gayle.c
diff options
context:
space:
mode:
authorMárton Németh <nm127@freemail.hu>2009-11-21 13:46:12 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-12-05 18:41:45 -0200
commitb1858190fc0180df70e9e7bab24a679129643f43 (patch)
tree14f383168d571b79d195e37bedea997ccc510d11 /drivers/ide/gayle.c
parentcd0e280f1bbecebcd20ed0ddd4dd8fb03a506b3c (diff)
downloadblackbird-op-linux-b1858190fc0180df70e9e7bab24a679129643f43.tar.gz
blackbird-op-linux-b1858190fc0180df70e9e7bab24a679129643f43.zip
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>
Diffstat (limited to 'drivers/ide/gayle.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud