commit | de4c95f9c8837f9c494e08155f81856cce0ba456 | [log] [tgz] |
---|---|---|
author | Yuli Khodorkovskiy <ykhodorkovskiy@tresys.com> | Thu Sep 10 14:55:34 2015 -0400 |
committer | James Carter <jwcart2@tycho.nsa.gov> | Fri Sep 11 11:02:37 2015 -0400 |
tree | 12aef977b0d78339d0ce272ceb77d5c70002fd3b | |
parent | 77779d2ca5a0c6efd113ff34cee432d5bb951f09 [diff] |
libsepol/cil: Provide error if classperms are empty Fixes https://github.com/SELinuxProject/cil/issues/7. This fixes a bug where cil_verify_classperms was executed on NULL classperms lists. A check is now performed when verifying classpermissions and classmap to ensure the classperms lists are not empty. Signed-off-by: Yuli Khodorkovskiy <ykhodorkovskiy@tresys.com> Signed-off-by: James Carter <jwcart2@tycho.nsa.gov>