Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit de1bb363 authored by Daniel Zheng's avatar Daniel Zheng Committed by Android Build Coastguard Worker
Browse files

libsnapshot: add compatibility check

Ensure that cow was written by v3 writer for the data_length check to
work. All ops written by v2 writer should go through the decompressor
path if a compressor was used.

Test: cow_api_test
(cherry picked from https://android-review.googlesource.com/q/commit:04ca59d6ffb1d9f071df1d89a3fdd947f7dbd576)
Merged-In: I053d6fdaf29ef7001e68f43b45d5a3ff1a36b1c3
Change-Id: I053d6fdaf29ef7001e68f43b45d5a3ff1a36b1c3
parent 1cffb1fd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment