diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-04-18 10:36:54 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-04-18 10:36:54 -0700 |
commit | d8bdc59f215e62098bc5b4256fd9928bf27053a1 (patch) | |
tree | 2f6e233afaf1b7f970e2f0ef0786dff4596dbd0a /sound | |
parent | c78193e9c7bcbf25b8237ad0dec82f805c4ea69b (diff) | |
download | kernel_samsung_tuna-d8bdc59f215e62098bc5b4256fd9928bf27053a1.zip kernel_samsung_tuna-d8bdc59f215e62098bc5b4256fd9928bf27053a1.tar.gz kernel_samsung_tuna-d8bdc59f215e62098bc5b4256fd9928bf27053a1.tar.bz2 |
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>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions