Commit 24e5f5e
committed
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 2078f8b commit 24e5f5e
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
280 | | - | |
281 | | - | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
282 | 284 | | |
283 | 285 | | |
284 | 286 | | |
| |||
0 commit comments