Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Guard check in module loader against integer overflow
The check: if (len < hdr->e_shoff + hdr->e_shnum * sizeof(Elf_Shdr)) may not work if there's an overflow in the right-hand side of the condition. Signed-off-by: David Howells <[email protected]> Signed-off-by: Rusty Russell <[email protected]>
- Loading branch information