summaryrefslogtreecommitdiff
path: root/security/security.c
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-08-08 00:17:51 +0200
committerJames Morris <jmorris@namei.org>2010-10-21 10:12:32 +1100
commit68eda8f59081c74a51d037cc29893bd7c9b3c2d8 (patch)
tree5970a384719568f6f36ee07efe72adb8cfab39f1 /security/security.c
parentf6f94e2ab1b33f0082ac22d71f66385a60d8157f (diff)
downloadlinux-3.10-68eda8f59081c74a51d037cc29893bd7c9b3c2d8.tar.gz
linux-3.10-68eda8f59081c74a51d037cc29893bd7c9b3c2d8.tar.bz2
linux-3.10-68eda8f59081c74a51d037cc29893bd7c9b3c2d8.zip
tomoyo: cleanup. don't store bogus pointer
If domain is NULL then &domain->list is a bogus address. Let's leave head->r.domain NULL instead of saving an unusable pointer. This is just a cleanup. The current code always checks head->r.eof before dereferencing head->r.domain. Signed-off-by: Dan Carpenter <error27@gmail.com> Acked-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Diffstat (limited to 'security/security.c')
0 files changed, 0 insertions, 0 deletions