From f8117a384fa0a51631cf570493fdf1f2f08a6a1c Mon Sep 17 00:00:00 2001 From: John Johansen Date: Sat, 22 Apr 2023 17:01:36 -0700 Subject: [PATCH] parser: fix chfa quivalence class handling The chfa equivalence class shouldn't be a reference. Its needs to actually exist and be part of the class during later method calls. As a reference it leads to bad references when used later. Signed-off-by: John Johansen --- parser/libapparmor_re/chfa.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parser/libapparmor_re/chfa.h b/parser/libapparmor_re/chfa.h index 0577215dc..d0081ae56 100644 --- a/parser/libapparmor_re/chfa.h +++ b/parser/libapparmor_re/chfa.h @@ -53,7 +53,7 @@ class CHFA { DefaultBase default_base; NextCheck next_check; map num; - map &eq; + map eq; transchar max_eq; ssize_t first_free; unsigned int chfaflags;