Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information