commit | 3be05c82442b2fbab693b6399f64610e8542462b | [log] [tgz] |
---|---|---|
author | Alex Deymo <deymo@google.com> | Fri Oct 23 11:29:11 2015 -0700 |
committer | Alex Deymo <deymo@google.com> | Fri Oct 23 13:01:59 2015 -0700 |
tree | 7c555e6253bffafb530570a0381b0b0c4ba6db25 | |
parent | 644f618b8bbaa096c1fcdcf7d6ed06e2538ea83c [diff] |
Fix use-after-free in unittest setup code. When setting the root prefix in a unittest, we need to reset it after so it isn't accidentally used by other tests. Bug: chromium:547127 Test: USE="clang asan" FEATURES=test emerge-link update_engine Change-Id: Ib84bbf265a380976407100a4fba4d2600d62dde6