Commit 6aed8fb
volume: require a full word for the attenuation control
The attenuation setter only rejected oversized payloads, then
dereferenced the data as a 32-bit value; a shorter payload read past the
mailbox. Require exactly a 32-bit payload.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>1 parent 0068678 commit 6aed8fb
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
289 | | - | |
290 | | - | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
291 | 293 | | |
292 | 294 | | |
293 | 295 | | |
| |||
0 commit comments