]> asedeno.scripts.mit.edu Git - linux.git/commit
selinux: initialize structures
authorWilliam Roberts <william.c.roberts@intel.com>
Tue, 23 Aug 2016 20:49:24 +0000 (13:49 -0700)
committerPaul Moore <paul@paul-moore.com>
Mon, 29 Aug 2016 23:22:10 +0000 (19:22 -0400)
commit3bc7bcf69bbe763359454b2c40efcba22730e181
treefe94abbe24f6ac466dc8a341934d2cc5d4ba7b04
parent74d977b65e45bc9b536b429e7f3b5e3a8e459026
selinux: initialize structures

libsepol pointed out an issue where its possible to have
an unitialized jmp and invalid dereference, fix this.
While we're here, zero allocate all the *_val_to_struct
structures.

Signed-off-by: William Roberts <william.c.roberts@intel.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
security/selinux/ss/policydb.c