summaryrefslogtreecommitdiffstats
path: root/security/capability.c
diff options
context:
space:
mode:
authorStephen Smalley <sds@tycho.nsa.gov>2007-11-07 16:08:00 +0100
committerJames Morris <jmorris@namei.org>2007-11-07 22:56:23 +0100
commit45e5421eb5bbcd9efa037d682dd357284e3ef982 (patch)
treeceb24143024fe335d08ac30fb4da9ca25fbeb6e6 /security/capability.c
parentSELinux: fix bug in new ebitmap code. (diff)
downloadlinux-45e5421eb5bbcd9efa037d682dd357284e3ef982.tar.xz
linux-45e5421eb5bbcd9efa037d682dd357284e3ef982.zip
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 <sds@tycho.nsa.gov> Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security/capability.c')
0 files changed, 0 insertions, 0 deletions