commit | c8e5de952da747fdbb023691d74c66b565fe9d23 | [log] [tgz] |
---|---|---|
author | Ondrej Mosnacek <omosnace@redhat.com> | Thu Oct 18 09:49:57 2018 +0200 |
committer | William Roberts <william.c.roberts@intel.com> | Thu Oct 25 14:06:45 2018 -0700 |
tree | f3061467d9ca8eeb03e4d54a9c7588a27458cacc | |
parent | 48aeea9ce623ee31e7699181e37221d03d8a1af1 [diff] |
libsepol: fix endianity in ibpkey range checks We need to convert from little-endian before dong range checks on the ibpkey port numbers, otherwise we would be checking a wrong value on big-endian systems. Fixes: 9fbb3112769a ("libsepol: Add ibpkey ocontext handling") Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>