selinux/libsepol
Nicolas Iooss 1bfb1a4ffd libsepol: cil: always initialize __cil_permx_to_sepol_class_perms() result
clang warns that __cil_permx_to_sepol_class_perms() return value, rc,
may be unitialized:

    ../cil/src/cil_binary.c:4188:9: error: variable 'rc' may be
    uninitialized when used here [-Werror,-Wconditional-uninitialized]
            return rc;
                   ^~
    ../cil/src/cil_binary.c:4148:8: note: initialize the variable 'rc'
    to silence this warning
            int rc;
                  ^
                   = 0

This theoretically happens when cil_expand_class(permx->obj) returns an
empty list.

Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>
2016-02-01 08:25:13 -05:00
..
cil libsepol: cil: always initialize __cil_permx_to_sepol_class_perms() result 2016-02-01 08:25:13 -05:00
include Add neverallow support for ioctl extended permissions 2015-09-22 10:52:47 -04:00
man Laurent Bigonville patch to fix various minor manpage issues and correct section numbering. 2013-10-24 13:58:37 -04:00
src libsepol/cil: Add support for neverallowx 2015-12-02 15:15:03 -05:00
tests libsepol/tests: fix gcc -Warray-bounds warning 2014-10-02 09:56:45 -04:00
utils libsepol: Android/MacOS X build support 2012-06-28 11:21:15 -04:00
.gitignore libsepol: build cil into libsepol 2014-08-26 08:03:31 -04:00
Android.mk libsepol/cil: Add function to search the CIL AST for an AV rule. 2015-06-22 10:03:07 -04:00
COPYING
ChangeLog Update ChangeLog and VERSION for release candidate 2016-01-07 10:01:31 -05:00
Makefile libsepol: build cil into libsepol 2014-08-26 08:03:31 -04:00
VERSION Update ChangeLog and VERSION for release candidate 2016-01-07 10:01:31 -05:00