commit | 4a0fab43cbe595b108e35026295130c7dbc2274b | [log] [tgz] |
---|---|---|
author | Nicolas Iooss <nicolas.iooss@m4x.org> | Fri May 12 22:13:56 2017 +0200 |
committer | Stephen Smalley <sds@tycho.nsa.gov> | Mon May 15 16:36:49 2017 -0400 |
tree | f762c97d41f1467d545cc098920d9f6f465e5614 | |
parent | 9cc62ce35d099acf7897b6259228479737521709 [diff] |
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>