commit | 1346746d82373bbc4516a830e7f17352b929fa35 | [log] [tgz] |
---|---|---|
author | Jan Zarsky <jzarsky@redhat.com> | Fri Aug 25 11:46:47 2017 +0200 |
committer | James Carter <jwcart2@tycho.nsa.gov> | Mon Aug 28 15:50:13 2017 -0400 |
tree | 1223358671a822f2ad720636aa33aa64d606d874 | |
parent | 53bb2a11c23b774f096701bab759c6ab9ec52ea1 [diff] |
libsepol: reset pointer after free In cil_strpool_destroy(), cil_strpool_tab is freed but it is not reset to NULL. When cil_strpool_init() is called again it assumes that cil_strpool_tab was already initialized. Other functions then work with invalid data. Signed-off-by: Jan Zarsky <jzarsky@redhat.com>