Commit 86f56a2
committed
rtnr: clamp control switch element count in set path
The switch set handler looped over a host-supplied element count reading
the control channel array past the payload. Reject counts above the
maximum channel count.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>1 parent d8c6a5e commit 86f56a2
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
565 | 565 | | |
566 | 566 | | |
567 | 567 | | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
568 | 574 | | |
569 | 575 | | |
570 | 576 | | |
| |||
0 commit comments