https://github.com/torvalds/linux
Revision b914152a6fbd2cd0441bc293ae8b3f3f1a9407b6 authored by J. Bruce Fields on 21 January 2009, 00:34:22 UTC, committed by J. Bruce Fields on 27 January 2009, 22:26:59 UTC
Since override_creds() took its own reference on new, we need to release
our own reference.

(Note the put_cred on the return value puts the *old* value of
current->creds, not the new passed-in value).

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
1 parent bf935a7
History
Tip revision: b914152a6fbd2cd0441bc293ae8b3f3f1a9407b6 authored by J. Bruce Fields on 21 January 2009, 00:34:22 UTC
nfsd: fix cred leak on every rpc
Tip revision: b914152
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
usr
virt
.gitignore -rw-r--r-- 867 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.3 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 106.5 KB
Makefile -rw-r--r-- 53.2 KB
README -rw-r--r-- 16.7 KB
REPORTING-BUGS -rw-r--r-- 3.1 KB

README

back to top