Linus Torvalds d8bdc59f21 proc: do proper range check on readdir offset
Rather than pass in some random truncated offset to the pid-related
functions, check that the offset is in range up-front.

This is just cleanup, the previous commit fixed the real problem.

Cc: stable@kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-04-18 10:36:54 -07:00
..
2011-01-13 08:03:17 -08:00
2009-05-15 15:32:45 +02:00
2011-01-13 17:32:43 -08:00
2007-10-17 08:42:48 -07:00
2011-01-13 17:32:43 -08:00