Commit 4764a4f
copier: 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 payload shorter than that
read past the mailbox. Require exactly a 32-bit payload.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>1 parent 249cf37 commit 4764a4f
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
797 | 797 | | |
798 | 798 | | |
799 | 799 | | |
800 | | - | |
801 | | - | |
802 | | - | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
803 | 805 | | |
804 | 806 | | |
805 | 807 | | |
| |||
0 commit comments