SELinux: add more validity checks on policy load
authorStephen Smalley <sds@tycho.nsa.gov>
Wed, 7 Nov 2007 15:08:00 +0000 (10:08 -0500)
committerJames Morris <jmorris@namei.org>
Wed, 7 Nov 2007 21:56:23 +0000 (08:56 +1100)
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 <sds@tycho.nsa.gov>
Signed-off-by: James Morris <jmorris@namei.org>

No differences found