summaryrefslogtreecommitdiff
path: root/libutils/Unicode.cpp
diff options
context:
space:
mode:
authorDaniel Rosenberg <drosen@google.com>2021-04-07 23:06:34 -0700
committerDaniel Rosenberg <drosen@google.com>2021-04-12 21:52:06 -0700
commit861e69a4c2ddf42079d4d24f377232966d4a06f9 (patch)
tree33f5db6cbb292d6ea9126c5695a2ab5a900728fd /libutils/Unicode.cpp
parentdb25e8e32d0c080d7b4e3baad4efe132410a5ee6 (diff)
libsnapshot: Zero out leftover ops in CowWriter
When opening in append mode, we could write less than what was present before. This could result in data blocks referencing beyond the end of the file, or partially written ops. Zeroing these out will prevent invalid leftovers from potentially causing confusion. Bug: 183985866 Test: cow_api_test Change-Id: I56f0218f3ea5b83c0614d1b86e81a4ca885f5c5e
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions