From: Stephen Smalley Date: Wed, 7 Nov 2007 15:08:00 +0000 (-0500) Subject: SELinux: add more validity checks on policy load X-Git-Tag: v2.6.24-rc3~181^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45e5421eb5bbcd9efa037d682dd357284e3ef982;p=pandora-kernel.git SELinux: add more validity checks on policy load Add more validity checks at policy load time to reject malformed policies and prevent subsequent out-of-range indexing when in permissive mode. Resolves the NULL pointer dereference reported in https://bugzilla.redhat.com/show_bug.cgi?id=357541. Signed-off-by: Stephen Smalley Signed-off-by: James Morris --- Reading git-diff-tree failed