commit | 49764dc072f1a9bb9955bfa3643e8c62580220d6 | [log] [tgz] |
---|---|---|
author | Sasha Levin <sasha.levin@oracle.com> | Mon Oct 19 10:36:28 2015 -0400 |
committer | Sasha Levin <sasha.levin@oracle.com> | Wed Oct 21 11:53:28 2015 -0400 |
tree | 03eb7b9a55c1dfebc791fef6d185c551ae988baa | |
parent | 69f1017e3bf5cc0cdf8f1cf2825099cf9540ece2 [diff] |
kvmtool: correct order of the vcpu destructor The vcpu module is a core component which should be removed last, but the destructor was mistakenly marked as something that should be done first. This would cause the vcpu data to be freed up before anything else had the chance to exit, and assuming that that data was still valid - causing use after frees. Reported-by: Dmitry Vyukov <dvyukov@google.com> Signed-off-by: Sasha Levin <sasha.levin@oracle.com>