selinux/python/audit2allow
Christian Göttsche c14a86af9a python/audit2allow: close file stream on error
sepolgen-ifgen-attr-helper.c: In function ‘load_policy’:
    sepolgen-ifgen-attr-helper.c:196:17: warning: leak of FILE ‘fp’ [CWE-775] [-Wanalyzer-file-leak]
      196 |                 fprintf(stderr, "Out of memory!\n");
          |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
Acked-by: James Carter <jwcart2@gmail.com>
2022-06-15 08:58:54 -04:00
..
ru Add man pages translation by Olesya Gerasimenko 2019-01-28 12:03:57 +01:00
.gitignore python/audit2allow: make the tests useful again 2019-01-08 10:15:46 +01:00
audit2allow python: always use python3 in the shebang of programs using setools 2019-02-17 22:34:50 +01:00
audit2allow.1 python: add xperms support to audit2allow 2018-06-16 10:36:14 +02:00
audit2why Move policycoreutils/{sepolicy,audit2allow,semanage,scripts/chcat*} and sepolgen to python. 2016-11-16 11:19:50 -05:00
audit2why.1 Move policycoreutils/{sepolicy,audit2allow,semanage,scripts/chcat*} and sepolgen to python. 2016-11-16 11:19:50 -05:00
Makefile sepolgen-ifgen: refactor default policy path retrieval 2020-06-18 19:32:07 +02:00
sepolgen-ifgen sepolgen-ifgen: refactor default policy path retrieval 2020-06-18 19:32:07 +02:00
sepolgen-ifgen-attr-helper.c python/audit2allow: close file stream on error 2022-06-15 08:58:54 -04:00
test_audit2allow.py python/audit2allow: use local sepolgen-ifgen-attr-helper for tests 2019-01-08 10:15:46 +01:00
test_dummy_policy.cil python/audit2allow: make the tests useful again 2019-01-08 10:15:46 +01:00
test.log python: add xperms support to audit2allow 2018-06-16 10:36:14 +02:00