-
Committer:
Christian Boltz
-
Date:
2016-03-01 20:24:10 UTC
-
Revision ID:
apparmor@cboltz.de-20160301202410-wzi9hygseootxdto
Fix wrong usage of write_prof_data in serialize_profile_from_old_profile()
write_prof_data[hat] is correct (it only contains one profile, see bug 1528139),
write_prof_data[profile][hat] is not and returns an empty (sub)hasher.
This affects RE_PROFILE_START and RE_PROFILE_BARE_FILE_ENTRY.
Acked-by: Kshitij Gupta <kgupta8592@gmail.com> for trunk, 2.9 and 2.10