[PATCH] selinux: fix bug in security_compute_sid
authorVenkat Yekkirala <vyekkirala@trustedcs.com>
Sun, 30 Jul 2006 10:03:18 +0000 (03:03 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 31 Jul 2006 20:28:38 +0000 (13:28 -0700)
commit851f8a6906b71f7a19043d4d722dd4ffab7aeafc
tree2d1c8c23b1ab70095f442f93ecb5629c273390ee
parentddccef3b5ec906ff181171e8ffad4fcb996792fd
[PATCH] selinux: fix bug in security_compute_sid

Initializes newcontext sooner to allow for its destruction in all cases.

Signed-off-by: Venkat Yekkirala <vyekkirala@TrustedCS.com>
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Acked-by: James Morris <jmorris@namei.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
security/selinux/ss/services.c