Commit 689eb09
base_fw: reject undersized system time payload
The system-time handler dereferenced the payload as a fixed struct
without checking the supplied size, reading past the mailbox for a short
payload. Reject a payload smaller than the struct.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>1 parent e62284b commit 689eb09
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
280 | 283 | | |
281 | 284 | | |
282 | 285 | | |
| |||
0 commit comments