summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Boettcher <devnull@localhost>2005-06-08 14:04:34 +0000
committerPatrick Boettcher <devnull@localhost>2005-06-08 14:04:34 +0000
commit156ed127e64fba6e009d6e0da7c311943035f9b0 (patch)
tree1abaab4f37f235c909f8a939f885fc4a75be6cd4
parentef90104ff594fcbabdddd4659533a76a3f21d990 (diff)
downloadmediapointer-dvb-s2-156ed127e64fba6e009d6e0da7c311943035f9b0.tar.gz
mediapointer-dvb-s2-156ed127e64fba6e009d6e0da7c311943035f9b0.tar.bz2
fixed memcpy copying into the wrong destination. Thanks to Allan Third for reported.
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
-rw-r--r--linux/drivers/media/dvb/dvb-usb/digitv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/dvb-usb/digitv.c b/linux/drivers/media/dvb/dvb-usb/digitv.c
index b79b49351..f87483f56 100644
--- a/linux/drivers/media/dvb/dvb-usb/digitv.c
+++ b/linux/drivers/media/dvb/dvb-usb/digitv.c
@@ -37,7 +37,7 @@ static int digitv_ctrl_msg(struct dvb_usb_device *d,
dvb_usb_generic_write(d,sndbuf,7);
} else {
dvb_usb_generic_rw(d,sndbuf,7,rcvbuf,7,10);
- memcpy(&rbuf,&rcvbuf[3],rlen);
+ memcpy(rbuf,&rcvbuf[3],rlen);
}
return 0;
}