From: David Howells Date: Tue, 22 May 2012 14:56:13 +0000 (+0100) Subject: Guard check in module loader against integer overflow X-Git-Tag: v3.5-rc1~108^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef26a5a6eadb7cd0637e1e9e246cd42505b8ec8c;p=pandora-kernel.git 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 Signed-off-by: Rusty Russell --- Reading git-diff-tree failed