platform_external_selinux/python
Joshua Schmidlkofer 5bbe32a7e5 python/semanage: check variable type of port before trying to split
While using Ansible's Selinux module to manage ports, I discovered
that numerical ports caused an unhandled exception in 'seobject.py'.
This appears to be a bug, and I am proposing a fix which checks the
type of the argument before operating on it.  This maintains the
original functionality in the case of a string, and acts in the same
fashion if you supply an integer.

I did not find any open bug report against the SELinux project. The
downstream bug report is here:
https://github.com/ansible/ansible/issues/60968

Signed-off-by: Joshua Schmidlkofer <joshua@joshuainnovates.us>
2019-12-10 15:21:16 -05:00
..
audit2allow Fix many misspellings 2019-09-18 22:47:35 +02:00
chcat python/chcat: remove unnecessary assignment 2019-09-17 10:38:49 -04:00
semanage python/semanage: check variable type of port before trying to split 2019-12-10 15:21:16 -05:00
sepolgen Update VERSIONs to 3.0 for release. 2019-11-28 13:46:48 +01:00
sepolicy Update VERSIONs to 3.0 for release. 2019-11-28 13:46:48 +01:00
COPYING Add COPYING files for new subdirs. 2016-11-16 11:19:51 -05:00
Makefile python: run all the tests with "make test" 2019-01-08 10:15:46 +01:00
VERSION Update VERSIONs to 3.0 for release. 2019-11-28 13:46:48 +01:00