From 156ed127e64fba6e009d6e0da7c311943035f9b0 Mon Sep 17 00:00:00 2001 From: Patrick Boettcher Date: Wed, 8 Jun 2005 14:04:34 +0000 Subject: fixed memcpy copying into the wrong destination. Thanks to Allan Third for reported. Signed-off-by: Patrick Boettcher --- linux/drivers/media/dvb/dvb-usb/digitv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux/drivers/media/dvb/dvb-usb/digitv.c') 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; } -- cgit v1.2.3