Commit 77fd9ef
committed
multiband_drc: validate config blob covers all bands
Setup read a base config struct and per-band coefficients from the blob
without a size check, over-reading for a short blob. Require the blob to
cover the base struct and num_bands band entries.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>1 parent acd2564 commit 77fd9ef
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
369 | 369 | | |
370 | 370 | | |
371 | 371 | | |
372 | | - | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
373 | 380 | | |
374 | 381 | | |
375 | 382 | | |
| |||
0 commit comments