From: Stephen Smalley Date: Sun, 23 Oct 2005 19:57:15 +0000 (-0700) Subject: [PATCH] selinux: Fix NULL deref in policydb_destroy X-Git-Tag: v2.6.14~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=282c1f5eba150d0b156ffa9e6b064f1d92f8315f;p=pandora-kernel.git [PATCH] selinux: Fix NULL deref in policydb_destroy This patch fixes a possible NULL dereference in policydb_destroy, where p->type_attr_map can be NULL if policydb_destroy is called to clean up a partially loaded policy upon an error during policy load. Please apply. Signed-off-by: Stephen Smalley Acked-by: James Morris Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed