commit | 94ebccf534414516b13238e0db76aeeee32f2e4d | [log] [tgz] |
---|---|---|
author | Ondrej Mosnacek <omosnace@redhat.com> | Tue Oct 23 08:57:57 2018 +0200 |
committer | William Roberts <william.c.roberts@intel.com> | Thu Oct 25 14:06:45 2018 -0700 |
tree | 5932df4cafa7ed3eedbc18204e4a74ea15bed2ba | |
parent | c8e5de952da747fdbb023691d74c66b565fe9d23 [diff] |
libsepol: add missing ibendport port validity check The kernel checks if the port is in the range 1-255 when loading an ibenportcon rule. Add the same check to libsepol. Fixes: 118c0cd1038e ("libsepol: Add ibendport ocontext handling") Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>