mirror of
https://github.com/SELinuxProject/selinux
synced 2025-04-17 13:03:14 +00:00
in class policy, ports is usually initialized with the result of get_all_ports(), which is a dict. If this function failed, the error was not fatal but ports was left initialized as a list, which would trigger other errors when accessing it. Initialize ports as an empty dict in order to fix this issue. Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org> |
||
---|---|---|
.. | ||
audit2allow | ||
chcat | ||
semanage | ||
sepolgen | ||
sepolicy | ||
COPYING | ||
Makefile | ||
VERSION |