summaryrefslogtreecommitdiffstats
path: root/fs/ext4/super.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2012-05-22 15:56:13 +0100
committerRusty Russell <rusty@rustcorp.com.au>2012-05-23 22:28:53 +0930
commitef26a5a6eadb7cd0637e1e9e246cd42505b8ec8c (patch)
tree94f8b1998d94080a842f94529f0d95cfe1bcc53a /fs/ext4/super.c
parent3c7ec94d2c4a67d9663a080aa5080134308261c4 (diff)
downloadop-kernel-dev-ef26a5a6eadb7cd0637e1e9e246cd42505b8ec8c.zip
op-kernel-dev-ef26a5a6eadb7cd0637e1e9e246cd42505b8ec8c.tar.gz
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 <dhowells@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'fs/ext4/super.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud