On 06/12/2017 04:31 AM, Richard Haines wrote:
Fix named ibendportcon context not resolving correctly.
Signed-off-by: Richard Haines <richard_c_haines@xxxxxxxxxxxxxx>
Applied.
Thanks,
Jim
---
libsepol/cil/src/cil_build_ast.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libsepol/cil/src/cil_build_ast.c b/libsepol/cil/src/cil_build_ast.c
index 4258b18..04492e5 100644
--- a/libsepol/cil/src/cil_build_ast.c
+++ b/libsepol/cil/src/cil_build_ast.c
@@ -4698,7 +4698,7 @@ int cil_gen_ibendportcon(__attribute__((unused)) struct cil_db *db, struct cil_t
}
if (!parse_current->next->next->next->cl_head) {
- ibendportcon->context_str = parse_current->next->next->data;
+ ibendportcon->context_str = parse_current->next->next->next->data;
} else {
cil_context_init(&ibendportcon->context);
--
James Carter <jwcart2@xxxxxxxxxxxxx>
National Security Agency