commit | a32da77251189b8ae4ecda40a5cf1f3b7daa4247 | [log] [tgz] |
---|---|---|
author | Stephen Smalley <sds@tycho.nsa.gov> | Thu Aug 06 14:40:02 2015 -0400 |
committer | Stephen Smalley <sds@tycho.nsa.gov> | Thu Aug 06 14:55:02 2015 -0400 |
tree | c20ecafe6aa59d9f593e97cc6f98da10b1091476 | |
parent | 8713313a510f0e75fdccf7923b1b4626d647459e [diff] |
libselinux: fail hard on invalid property_contexts entries Fail hard on any error during property_contexts (or service_contexts) processing. We want to catch any such errors early and not proceed with a potentially mislabeled system. Also remove some obsoleted tests for NULL; they were necessary in earlier versions of the code where we were copying the strings at this point, but no longer. Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>