Get const data instead of non-const data for constant strings.
It triggered asserts when they are enabled, although the underlying
production code is the same.
Change-Id: Ic7102b6601ca168e6bf5f6902988a06c6ab76f03
}
}
else
- score = find_and_check_rules_for_name (rules, _dbus_string_get_data(p->u.name),
+ score = find_and_check_rules_for_name (rules, _dbus_string_get_const_data(p->u.name),
score, check_func, params,
toggles, log, result,
privilege, matched_rule);