commit | 3022c6e40d3ad28a45f783cf966bc8fb4450ba51 | [log] [tgz] |
---|---|---|
author | Bernie Innocenti <codewiz@google.com> | Fri Oct 26 22:20:55 2018 +0900 |
committer | Bernie Innocenti <codewiz@google.com> | Mon Oct 29 16:59:33 2018 +0000 |
tree | 7c76cc38a82b1663fe004907eae691976a3c8b74 | |
parent | 03d5eaf1162309a6b0b0e6fd94886f4d528a9a18 [diff] |
Fix use-after-free asan hit in XfrmControllerTest This test was forgetting to restore the original Syscalls object on cleanup, causing an asan hit. The fix consists in switching to the safer ScopedMockSyscalls, as all other tests do. Test: atest netd_unit_test (with asan enabled) Change-Id: I5ddaaf7e806aadd00b5b97006bf924ee5b7815dc