summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage.cpp
diff options
context:
space:
mode:
authorDavid Anderson <dvander@google.com>2020-09-21 13:35:12 -0700
committerDavid Anderson <dvander@google.com>2020-09-28 11:24:37 -0700
commit6560d23765e26a860c3c7fd1a56df092d86ff495 (patch)
tree674780001c5652ad36bc1ebefc20df49a2dc13c9 /trusty/coverage/coverage.cpp
parentb3dc6089b050719e4ba739b6dd5b4872ba929ac0 (diff)
libsnapshot: Add a maximum block count to CowWriter.
Once COWs are allocated, their size is fixed, and we don't want to write beyond the end. To make this validation less tedious, the virtual methods of ICowWriter have been made internal. The user-facing API calls do validation before calling the internal variants. Bug: 168554689 Test: cow_writer_test Change-Id: Ic9ebb5bc4b601180d35d915c47cd9c537bc423fa
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions