libsepol/cil: Initialize the multiple_decls field of the cil db
Initialize the multiple_decls field when intializing the structure
cil_db.
Fixes: fafe4c212b
("libsepol: cil: Add ability to redeclare types[attributes]")
Reported-by: Topi Miettinen <toiwoton@gmail.com
Acked-by: Stephen Smalley <stephen.smalley.work@gmail.com>
Signed-off-by: James Carter <jwcart2@gmail.com>
This commit is contained in:
parent
c554c3d88a
commit
7b1227b19e
|
@ -459,6 +459,7 @@ void cil_db_init(struct cil_db **db)
|
|||
(*db)->preserve_tunables = CIL_FALSE;
|
||||
(*db)->handle_unknown = -1;
|
||||
(*db)->mls = -1;
|
||||
(*db)->multiple_decls = CIL_FALSE;
|
||||
(*db)->target_platform = SEPOL_TARGET_SELINUX;
|
||||
(*db)->policy_version = POLICYDB_VERSION_MAX;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue