commit | 7056de1b423e10b16149df3db0102aff714f2648 | [log] [tgz] |
---|---|---|
author | Gao Xiang <gaoxiang25@huawei.com> | Mon Aug 14 11:32:13 2017 +0800 |
committer | Keun-young Park <keunyoung@google.com> | Fri Aug 18 08:21:17 2017 -0700 |
tree | a807a8fa23589d38adedff6d54542fb0762af54a | |
parent | e2e2d308df2da26838de32852318bc2cb690d052 [diff] |
mInternalEmulated could be used after shutdown() called It fixes the findvolume() / reset() use-after-free issue after shutdown called to avoid vold crash. bug: 64833901 Test: test reboot Fixes: a5bbb5e3c13d ("make shutdown safe for double calls.") Signed-off-by: Gao Xiang <gaoxiang25@huawei.com> (cherry picked from commit d263da88076f5299e6202f8b388eab79f6fdd495) Change-Id: I636b28f30fb82e4672d88144cd04072d24ef3b85