diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-04-18 10:36:54 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-04-22 08:44:26 -0700 |
commit | d86dbfba5a2d6fe17b5fde93b41c03c864d10aa8 (patch) | |
tree | 01bce18c386c95e43a7ad5909db3ea11227bc2e6 /drivers | |
parent | 67e022f3add1879292986e779b2aaf6ecb93fa58 (diff) |
proc: do proper range check on readdir offset
commit d8bdc59f215e62098bc5b4256fd9928bf27053a1 upstream.
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.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions