diff options
author | Patrick Boettcher <pb@linuxtv.org> | 2005-07-07 20:58:17 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-07 21:24:01 -0400 |
commit | 97432808ee367e15485e55c734ba04ca290a306d (patch) | |
tree | 037dd3445d14e344e2f8c5f6b9ba2cacb151b911 /drivers/media/dvb/dvb-usb/digitv.c | |
parent | 2f7f96b95991bcbe52dee5aa50a19130873738bf (diff) |
[PATCH] dvb: usb: digitv memcpy fix
Fix memcpy copying into the wrong destination. Thanks to Allan Third for
reporting.
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/media/dvb/dvb-usb/digitv.c')
-rw-r--r-- | drivers/media/dvb/dvb-usb/digitv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/dvb-usb/digitv.c b/drivers/media/dvb/dvb-usb/digitv.c index f272d34f7725..8155a26f0ddf 100644 --- a/drivers/media/dvb/dvb-usb/digitv.c +++ b/drivers/media/dvb/dvb-usb/digitv.c | |||
@@ -37,7 +37,7 @@ static int digitv_ctrl_msg(struct dvb_usb_device *d, | |||
37 | dvb_usb_generic_write(d,sndbuf,7); | 37 | dvb_usb_generic_write(d,sndbuf,7); |
38 | } else { | 38 | } else { |
39 | dvb_usb_generic_rw(d,sndbuf,7,rcvbuf,7,10); | 39 | dvb_usb_generic_rw(d,sndbuf,7,rcvbuf,7,10); |
40 | memcpy(&rbuf,&rcvbuf[3],rlen); | 40 | memcpy(rbuf,&rcvbuf[3],rlen); |
41 | } | 41 | } |
42 | return 0; | 42 | return 0; |
43 | } | 43 | } |