mirror of
https://github.com/SELinuxProject/selinux
synced 2024-12-27 00:12:05 +00:00
738db6077b
Nicolas Iooss <nicolas.iooss@m4x.org> discovered with clang's static analyzer that cil_reset_ibpkeycon() was checking that ibpkeycon->context was NULL and then passing the NULL value to cil_reset_context() which expected a non-NULL argument. Instead, cil_reset_ibpkeycon() should check if ibpkeycon->context_str is NULL. If it is non-NULL then the context field points to a named context that was created elsewhere and it will be reset there, but if the context_str field is NULL, then the context is not named and needs to be reset. Signed-off-by: James Carter <jwcart2@tycho.nsa.gov> |
||
---|---|---|
.. | ||
cil | ||
include | ||
man | ||
src | ||
tests | ||
utils | ||
.gitignore | ||
COPYING | ||
Makefile | ||
VERSION |