mirror of
https://github.com/SELinuxProject/setools
synced 2025-03-25 04:26:28 +00:00
libqpol: stop processing types when building type attribute map
Fix originally from Richard Haines.
This commit is contained in:
parent
60ac053ce3
commit
faeccd0360
@ -213,6 +213,10 @@ static int qpol_policy_build_attrs_from_map(qpol_policy_t * policy)
|
||||
if (count == 0) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (db->type_val_to_struct[i]->flavor == TYPE_TYPE)
|
||||
continue;
|
||||
|
||||
/* first create a new type_datum_t for the attribute,
|
||||
* with the attribute's type_list consisting of types
|
||||
* with this attribute */
|
||||
|
Loading…
Reference in New Issue
Block a user