selinux/libsepol/cil/src
Nicolas Iooss 4a0fab43cb libsepol/cil: do not use an uninitialized value in __cil_fqn_qualify_blocks
In __cil_fqn_qualify_blocks(), when newlen >= CIL_MAX_NAME_LENGTH,
cil_tree_log() is called with child_args.node as argument but this value
has not been initialized yet. Use local variable node instead, which is
initialized early enough in the function.

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

Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>
2017-05-15 16:36:49 -04:00
..
cil.c Add attribute expansion options 2017-05-09 12:09:46 -04:00
cil_binary.c libsepol/cil: Add ability to expand some attributes in binary policy 2017-04-12 14:33:49 -04:00
cil_binary.h libsepol/cil: Add userattribute{set} functionality 2015-09-11 09:07:46 -04:00
cil_build_ast.c Add attribute expansion options 2017-05-09 12:09:46 -04:00
cil_build_ast.h Add attribute expansion options 2017-05-09 12:09:46 -04:00
cil_copy_ast.c Add attribute expansion options 2017-05-09 12:09:46 -04:00
cil_copy_ast.h libsepol/cil: Add userattribute{set} functionality 2015-09-11 09:07:46 -04:00
cil_find.c Fix multiple spelling errors 2016-05-02 08:45:45 -04:00
cil_find.h libsepol/cil: Add support for neverallowx 2015-12-02 15:15:03 -05:00
cil_flavor.h Add attribute expansion options 2017-05-09 12:09:46 -04:00
cil_fqn.c libsepol/cil: do not use an uninitialized value in __cil_fqn_qualify_blocks 2017-05-15 16:36:49 -04:00
cil_fqn.h Merge commit '76ba6eaa7333483a8cc0c73a7880f7acf99c2656' 2015-02-18 09:25:20 -05:00
cil_internal.h Add attribute expansion options 2017-05-09 12:09:46 -04:00
cil_lexer.h libsepol/cil: Add high-level language line marking support 2016-05-05 16:13:49 -04:00
cil_lexer.l libsepol/cil: Add high-level language line marking support 2016-05-05 16:13:49 -04:00
cil_list.c libsepol/cil: Add support for neverallowx 2015-12-02 15:15:03 -05:00
cil_list.h libsepol/cil: Add support for neverallowx 2015-12-02 15:15:03 -05:00
cil_log.c Merge commit '76ba6eaa7333483a8cc0c73a7880f7acf99c2656' 2015-02-18 09:25:20 -05:00
cil_log.h Add missing <stdarg.h> include 2016-07-01 13:02:15 -04:00
cil_mem.c libsepol/cil: Add support for neverallowx 2015-12-02 15:15:03 -05:00
cil_mem.h libsepol/cil: Add support for neverallowx 2015-12-02 15:15:03 -05:00
cil_parser.c libsepol/cil: Remove path field from cil_tree_node struct 2016-05-05 16:32:07 -04:00
cil_parser.h Merge commit 'b19eafb97feb6389d78e1693f276fc5b10e25bd6' as 'libsepol/cil' 2014-08-26 08:02:58 -04:00
cil_policy.c libsepol/cil: Use hexadecimal numbers when writing Xen rules 2017-03-21 14:22:42 -04:00
cil_policy.h libsepol/cil: Add ability to write policy.conf file from CIL AST 2016-11-30 10:18:12 -05:00
cil_post.c Add attribute expansion options 2017-05-09 12:09:46 -04:00
cil_post.h Merge commit 'b19eafb97feb6389d78e1693f276fc5b10e25bd6' as 'libsepol/cil' 2014-08-26 08:02:58 -04:00
cil_reset_ast.c Add attribute expansion options 2017-05-09 12:09:46 -04:00
cil_reset_ast.h Merge commit 'b19eafb97feb6389d78e1693f276fc5b10e25bd6' as 'libsepol/cil' 2014-08-26 08:02:58 -04:00
cil_resolve_ast.c Add attribute expansion options 2017-05-09 12:09:46 -04:00
cil_resolve_ast.h libsepol/cil: Add userattribute{set} functionality 2015-09-11 09:07:46 -04:00
cil_stack.c Merge commit 'b19eafb97feb6389d78e1693f276fc5b10e25bd6' as 'libsepol/cil' 2014-08-26 08:02:58 -04:00
cil_stack.h Merge commit 'b19eafb97feb6389d78e1693f276fc5b10e25bd6' as 'libsepol/cil' 2014-08-26 08:02:58 -04:00
cil_strpool.c libsepol: use constant keys in hashtab functions 2017-01-19 08:46:19 -05:00
cil_strpool.h Merge commit 'a3abb2c05301b24ad2f8307d07734d89ddf808d8' into merge 2014-10-02 10:07:00 -04:00
cil_symtab.c Merge commit '76ba6eaa7333483a8cc0c73a7880f7acf99c2656' 2015-02-18 09:25:20 -05:00
cil_symtab.h Merge commit '76ba6eaa7333483a8cc0c73a7880f7acf99c2656' 2015-02-18 09:25:20 -05:00
cil_tree.c Add attribute expansion options 2017-05-09 12:09:46 -04:00
cil_tree.h libsepol/cil: Remove path field from cil_tree_node struct 2016-05-05 16:32:07 -04:00
cil_verify.c libsepol/cil: Check if identifier is NULL when verifying name 2016-10-19 10:07:51 -04:00
cil_verify.h libsepol/cil: Verify users prior to evaluating users 2015-05-05 16:00:03 -04:00
dso.h libsepol/cil: disable symver on Mac builds 2016-10-18 13:48:53 -04:00