Skip to content
Commit 1ae7075b authored by Chris Snook's avatar Chris Snook Committed by Linus Torvalds
Browse files

use use SEEK_MAX to validate user lseek arguments



Add SEEK_MAX and use it to validate lseek arguments from userspace.

Signed-off-by: default avatarChris Snook <csnook@redhat.com>
Acked-by: default avatarDavid Howells <dhowells@redhat.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 7b8e8924
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment