21 Feb
2018
21 Feb
'18
6:26 p.m.
Make sure we validate all module sections against each other.
Signed-off-by: Liam Girdwood liam.r.girdwood@linux.intel.com --- rimage/elf.c | 3 --- 1 file changed, 3 deletions(-)
diff --git a/rimage/elf.c b/rimage/elf.c index 672d6e3..3f00f1d 100644 --- a/rimage/elf.c +++ b/rimage/elf.c @@ -314,9 +314,6 @@ int elf_validate_section(struct image *image, struct module *module, for (i = 0; i < image->num_modules; i++) { m = &image->module[i];
- if (m == module) - continue; - /* for each section */ for (j = 0; j < m->hdr.e_shnum; j++) { s = &m->section[j];
--
2.14.1