commit | aab166132a59ab19d59bbe6f78b2d42bad162697 | [log] [tgz] |
---|---|---|
author | Alessio Balsini <balsini@google.com> | Thu Feb 11 19:07:41 2021 +0000 |
committer | Alessio Balsini <balsini@google.com> | Tue Feb 16 11:08:21 2021 +0000 |
tree | 3a0ddcd22ebc3210ff021b8b08ed98c3a1843caf | |
parent | 0130a782ec739354c688cb7a81b28d73f970c87d [diff] |
libsnapshot: COW size is computed within the container capability Enforce the checking of what chunk/sector/byte is written to the COW size calculator to avoid possible overflows in the container. If an undesired behavior occurs, the COW computation is aborted and, the class user will be notified with an empty returned value. Bug: 176972301 Test: vts_libsnapshot_test Change-Id: I29f7909780853434a09032c27c943f505c6d0d19