Commit 076c316
committed
rimage: bound extended manifest header read to the section
The extended-manifest validator copied a fixed header from an offset that could
leave fewer than a header's worth of bytes, reading past the section. Require a
whole header to remain before the copy.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>1 parent 6d469e0 commit 076c316
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
72 | 78 | | |
73 | 79 | | |
74 | 80 | | |
| |||
0 commit comments