diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-04-18 10:36:54 -0700 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2012-03-14 10:57:19 -0400 |
commit | dfde8c905e97a9332f87479b0cec3323e4eda71e (patch) | |
tree | 8dcb2a86b551643bcc585af8b473ce20cd3d8dda /scripts/patch-kernel | |
parent | 1e6b4f8971e43ea40fba523bc98ef30a17e8acc7 (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: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions