mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 08:52:27 +00:00
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 <[email protected]> Signed-off-by: James Morris <[email protected]>