Commit aefc253c authored by Alex Deymo's avatar Alex Deymo
Browse files

Add some more checkings to the DiffEncoder.

Check that we don't attempt to use the region outside the old file.
While this is supported by our decoder, there's no reason why we should
do that and it often means a bug in the encoder.

Bug: None
Test: Added unittests that would fail without the fixes.
Change-Id: Ifd6d8763ae4e6b3f29a5a1289f22900a278dd1b0
parent 877a6678
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment