commit | e1d2c8b69ad81ea103b1e87809eba51931e16874 | [log] [tgz] |
---|---|---|
author | David Howells <dhowells@redhat.com> | Tue Apr 29 00:59:34 2008 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Apr 29 08:06:05 2008 -0700 |
tree | bfd78fc4729f5a9911b8e1ca145ad34a17fc3e3b | |
parent | 76308da18910e556747f6d100147f42ccc78662c [diff] |
fdpic: check that the size returned by kernel_read() is what we asked for Check that the size of the read returned by kernel_read() is what we asked for. If it isn't, then reject the binary as being a badly formatted. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>