diff options
author | Suren Baghdasaryan <surenb@google.com> | 2020-01-24 16:36:10 -0800 |
---|---|---|
committer | Suren Baghdasaryan <surenb@google.com> | 2020-01-27 21:07:27 +0000 |
commit | 8438595f21db4d83700ef6f86b5a51de35f56d65 (patch) | |
tree | b79a6e9ac8afc9587b92289267fc4c51cff0a525 /trusty/coverage/coverage.cpp | |
parent | 347d6406f09f8bbb914a34e83bd01d3bee4de6c7 (diff) |
libprocessgroup: Prevent aggregate profiles from referencing stale ones
Currently when vendor overrides a profile the profile object is being
replaced with a new one. However the old profile might have been
referenced by an aggregate profile and with such profile replacement
the aggregate profile is left referencing a stale object. Fix this by
replacing the content of the old profile with the content from the new
one instead of replacing the object itself.
Bug: 148311066
Test: override profiles referenced in aggregate profile and verify
Test: correct replacement
Change-Id: Iabddbf3580455e5263fedad6665cf52fb323e50a
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions