summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage_test.cpp
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2020-05-04 16:59:27 -0700
committerYifan Hong <elsk@google.com>2020-05-05 18:01:15 -0700
commite6c1a8427643a066d4f272a9ef9f9f1bd8b7449e (patch)
tree5fd2df02e3fa2393af572bfc6b5c3bed7353b681 /trusty/coverage/coverage_test.cpp
parent2e66043394b6fc2ff014bc3db351f1325907f91b (diff)
libsnapshot: fix incorrect assumption of cow images
libsnapshot used to assume CoW images are always mapped with device mapper, and call GetDeviceString directly. However, in tests, it is possible that it is mapped as loop devices. Fix the incorrect assumption and calls IImageManager::GetMappedImageDevice instead. Test: libsnapshot_fuzzer with corpus Bug: 154633114 Change-Id: I1ec39744480e514ae7a7902643ed863e0ca0a340
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions