Commit acd2564
committed
drc: validate config blob size before use
DRC setup dereferenced the config blob as a fixed struct without
verifying the blob was at least that large, over-reading adjacent heap
for a short blob. Require the blob to cover the config struct.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>1 parent 40dc147 commit acd2564
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
353 | 353 | | |
354 | 354 | | |
355 | 355 | | |
356 | | - | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
357 | 360 | | |
358 | 361 | | |
359 | 362 | | |
| |||
0 commit comments