From: David Howells Date: Tue, 29 Apr 2008 07:59:34 +0000 (-0700) Subject: fdpic: check that the size returned by kernel_read() is what we asked for X-Git-Tag: v2.6.26-rc1~617 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1d2c8b69ad81ea103b1e87809eba51931e16874;p=pandora-kernel.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed