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
commit58aab0beb28146deff539a81b69c57a0b0aa6a5e (patch)
tree33f5db6cbb292d6ea9126c5695a2ab5a900728fd /libutils/Unicode.cpp
parentd42e06c8efff5d23a6d6d1ceb6f226f1c0369b3e (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