summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorMalcolm Priestley <tvboxspy@gmail.com>2010-12-07 19:49:24 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-12-29 08:17:03 -0200
commit75aecc3af22ae9063c96457d530f281a1e2d3276 (patch)
treed66903b3ecbf4e5012e28da59d5bfd61771dd6ea /mm
parentc59a9bfabfc2a6359f046652c6bfa0a82fb17a05 (diff)
[media] DM04/QQBOX Frontend attach change
On Fri, 2010-12-03 at 09:32 -0200, Mauro Carvalho Chehab wrote: > Em 27-11-2010 11:13, Malcolm Priestley escreveu: > > Driver Version v1.73 - Frontend attach change. > > To stop double rc registration in multi tuner environment or firmware change. > > > > Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> > > > > > > +static int lme_name(struct dvb_usb_adapter *adap) > > +{ > > + struct lme2510_state *st = adap->dev->priv; > > + const char *desc = adap->dev->desc->name; > > + char *fe_name[] = {"", " LG TDQY-P001F", " SHARP:BS2F7HZ7395"}; > > + char *name = adap->fe->ops.info.name; > > + > > + strcpy(name, desc); > > + strcat(name, fe_name[st->tuner_config]); > > Please use, instead, strlcpy/strlcat, to avoid writing outside the buffer size. > Driver Version v1.74 Amended patch with change to strlcpy/strlcat. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions