Revert "drivers: media: dvb-frontends/rtl2832: fix an out-of-bounds write error"
This reverts commit f9b4a2b3d7
.
This commit is contained in:
parent
059a582057
commit
20521bf999
1 changed files with 1 additions and 1 deletions
|
@ -982,7 +982,7 @@ static int rtl2832_pid_filter(struct dvb_frontend *fe, u8 index, u16 pid,
|
|||
index, pid, onoff, dev->slave_ts);
|
||||
|
||||
/* skip invalid PIDs (0x2000) */
|
||||
if (pid > 0x1fff || index >= 32)
|
||||
if (pid > 0x1fff || index > 32)
|
||||
return 0;
|
||||
|
||||
if (onoff)
|
||||
|
|
Loading…
Reference in a new issue