commit | 83c690c7a64562c2fcbf4f00f54d726d7f9df66b | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Fri May 01 11:41:56 2020 -0700 |
committer | Yifan Hong <elsk@google.com> | Fri May 01 18:46:44 2020 +0000 |
tree | fac7887e638cafdc22d63ca68bd96201b3073204 | |
parent | b827d1db0cf5aad248e1698d47a6aa9648aea0e6 [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