Commit ef41cc1
committed
rimage: bound module manifest count from input
The number of module manifests packed in a section came from the input
file and drove writes into the fixed-size module descriptor array.
Reject a count above the maximum before the write loop.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>1 parent b0e1da3 commit ef41cc1
1 file changed
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
534 | 534 | | |
535 | 535 | | |
536 | 536 | | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
537 | 551 | | |
538 | 552 | | |
539 | 553 | | |
| |||
0 commit comments