platform_external_selinux/libsepol/tests
Nicolas Iooss e303de242c libsepol/tests: fix use of unitialized variable
When write_binary_policy() fails to open the binary policy, it calls
sepol_handle_destroy(f.handle) but structure f has not been initialized
at this point. Use variable handle instead.

This issue has been found using clang's static analyzer.

Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>
2018-06-15 09:02:42 -04:00
..
policies Update .gitignore files 2016-05-09 08:14:54 -04:00
.gitignore Update .gitignore files 2016-05-09 08:14:54 -04:00
debug.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
debug.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
helpers.c libsepol/tests: fix -Wwrite-strings warnings 2017-02-06 11:06:04 -05:00
helpers.h libsepol/tests: fix -Wwrite-strings warnings 2017-02-06 11:06:04 -05:00
libsepol-tests.c libsepol: make "make test" fails when a CUnit test fails 2016-09-06 10:49:56 -04:00
Makefile libsepol/tests: override CPPFLAGS too 2017-06-30 08:56:43 -04:00
test-common.c libsepol/tests: fix -Wwrite-strings warnings 2017-02-06 11:06:04 -05:00
test-common.h libsepol/tests: fix -Wwrite-strings warnings 2017-02-06 11:06:04 -05:00
test-cond.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
test-cond.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
test-deps.c libsepol/tests: fix -Wwrite-strings warnings 2017-02-06 11:06:04 -05:00
test-deps.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
test-downgrade.c libsepol/tests: fix use of unitialized variable 2018-06-15 09:02:42 -04:00
test-downgrade.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
test-expander-attr-map.c libsepol/tests: fix -Wwrite-strings warnings 2017-02-06 11:06:04 -05:00
test-expander-attr-map.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
test-expander-roles.c libsepol/tests: fix -Wwrite-strings warnings 2017-02-06 11:06:04 -05:00
test-expander-roles.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
test-expander-users.c libsepol/tests: fix -Wwrite-strings warnings 2017-02-06 11:06:04 -05:00
test-expander-users.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
test-expander.c libsepol/tests: fix -Wwrite-strings warnings 2017-02-06 11:06:04 -05:00
test-expander.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
test-linker-cond-map.c libsepol/tests: fix -Wwrite-strings warnings 2017-02-06 11:06:04 -05:00
test-linker-cond-map.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
test-linker-roles.c libsepol/tests: fix -Wwrite-strings warnings 2017-02-06 11:06:04 -05:00
test-linker-roles.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
test-linker-types.c libsepol/tests: fix -Wwrite-strings warnings 2017-02-06 11:06:04 -05:00
test-linker-types.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
test-linker.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
test-linker.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00