diff options
author | Andy Walls <awalls@radix.net> | 2009-07-05 15:22:45 -0400 |
---|---|---|
committer | Andy Walls <awalls@radix.net> | 2009-07-05 15:22:45 -0400 |
commit | 6c5e5c49e6eac8f1e8e954d614a31676a7da755d (patch) | |
tree | 6fec8ac16b6fe597edd096ca683b52f3d884df04 /linux/drivers/media/video/cx18 | |
parent | e1afff6e5f2d6b35928ab6651ac5705659713ca0 (diff) | |
download | mediapointer-dvb-s2-6c5e5c49e6eac8f1e8e954d614a31676a7da755d.tar.gz mediapointer-dvb-s2-6c5e5c49e6eac8f1e8e954d614a31676a7da755d.tar.bz2 |
get_dvb_firmware: Correct errors in MPC718 firmware extraction logic
From: Andy Walls <awalls@radix.net>
The extraction routine for the MPC718 "firmware" had 2 bugs in it, where one
bug masked the effect of the other. The loop iteration should have set
$prevlen = $currlen at the end of the loop, and the if() check should have used
&& instead of || for deciding if the firmware length is reasonable.
Priority: normal
Signed-off-by: Andy Walls <awalls@radix.net>
Diffstat (limited to 'linux/drivers/media/video/cx18')
0 files changed, 0 insertions, 0 deletions