commit | e6edc424555d4f8d1d6a968072e137a77656d480 | [log] [tgz] |
---|---|---|
author | Stephen Smalley <sds@tycho.nsa.gov> | Fri Apr 07 11:01:52 2017 -0400 |
committer | Stephen Smalley <sds@tycho.nsa.gov> | Fri Apr 07 11:04:43 2017 -0400 |
tree | 4833f6ada7701a0eeb244f6d3df869f935ef517b | |
parent | 92f22e193a7e78702178bf9960f03167ba3ea1df [diff] |
libsepol: do not seg fault on sepol_*_key_free(NULL) sepol_*_key_free(NULL) should just be a no-op just like free(NULL). Fix several instances that did not handle this correctly and would seg fault if called with NULL. Test: setsebool -P zebra_write_config=1 while non-root Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>