https://github.com/torvalds/linux
Revision d8bdc59f215e62098bc5b4256fd9928bf27053a1 authored by Linus Torvalds on 18 April 2011, 17:36:54 UTC, committed by Linus Torvalds on 18 April 2011, 17:36:54 UTC
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>
1 parent c78193e
History
Tip revision: d8bdc59f215e62098bc5b4256fd9928bf27053a1 authored by Linus Torvalds on 18 April 2011, 17:36:54 UTC
proc: do proper range check on readdir offset
Tip revision: d8bdc59
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 941 bytes
.mailmap -rw-r--r-- 4.1 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.7 KB
Kbuild -rw-r--r-- 2.4 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 188.2 KB
Makefile -rw-r--r-- 51.1 KB
README -rw-r--r-- 17.1 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top