commit | 7501cd00433e71529b49f905d0816420f2620494 | [log] [tgz] |
---|---|---|
author | Michael Ryleev <gmar@google.com> | Tue Feb 27 08:30:15 2018 -0800 |
committer | Michael Ryleev <gmar@google.com> | Wed Feb 28 18:13:50 2018 +0000 |
tree | f292aca6551729e03a9a3d44bc70a86ce522504a | |
parent | 84a4d79e7f2d80255ed9290bd598afb85e1a1061 [diff] |
[lib][trusty] Fix a bug in handle_set_detach_ref Increment/decrement ref count of parent handle_set before/after detaching child to prevent use-after-free of heap in case reference we are removing is the last reference to parent handle_set object. Change-Id: Ie7dc14f11602abb4ebe0e231be4e158e2296dd7f