summaryrefslogtreecommitdiff
path: root/libutils/FileMap_test.cpp
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2020-05-01 11:41:56 -0700
committerYifan Hong <elsk@google.com>2020-05-01 11:52:01 -0700
commitc2a048e2ed223b3a9c5e171aa5712a52ed1c45ee (patch)
tree2c6e6ca3e166d9e4db6b6bacf97f5a35ad62fed0 /libutils/FileMap_test.cpp
parentaf9240abc962e24dff3e81477afb94a5b0b4d977 (diff)
Handle zero snapshot size appropriately.
This won't happen in practice because device size is never zero. Hypothetically, if it is, PartitionCowCreator still suggests that a CoW size of 8192 bytes needs to be created. In reality, it is not necessary. Test: libsnapshot_fuzzer Bug: 155484992 Change-Id: I6c69f54820522d50c699384eec90c474ca3a9402 (cherry picked from commit bc84824e21acfdc83590d6d0d4827bd9854fc0f5) Merged-In: I6c69f54820522d50c699384eec90c474ca3a9402
Diffstat (limited to 'libutils/FileMap_test.cpp')
0 files changed, 0 insertions, 0 deletions