commit | b63eb892f93249ac217ab878c29245f2cae2dc76 | [log] [tgz] |
---|---|---|
author | Nicolas Iooss <nicolas.iooss@m4x.org> | Tue Apr 11 23:45:59 2017 +0200 |
committer | Stephen Smalley <sds@tycho.nsa.gov> | Wed Apr 12 14:40:16 2017 -0400 |
tree | 4a7ae598d7079784a1f59fc3c1572e6015c82ed6 | |
parent | ea175157dd312aba3c98b756aaf5d66fa00d4f9c [diff] |
libsepol: cil: check cil_fill_list return value cil_gen_default() and cil_gen_defaultrange() call cil_fill_list() without checking its return value. If it failed, propagate the return value to the caller. This issue has been found using clang's static analyzer. It reported "warning: Value stored to 'rc' is never read" four times. Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>