[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>
This commit is contained in:
parent
2f7f96b959
commit
97432808ee
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue