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-21 14:32:53 -0700 |
commit | a506a5b9282e4b944ed314d2b30ce387c44ff9fe (patch) | |
tree | 3f132b8344f0fbefb1739d4e049fd166426702e3 /lib/timerqueue.c | |
parent | c8b265db1e63fdb296ec2721f5c1473c44bc4dc5 (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 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions