ce5fa5e538
This will help us to identify the patch corruption. Meanwhile fix a wrong size parameter passed to bspatch. (patch->data.size() into patch->data.size() - patch_offset). Also remove the only usage of "ApplyBSDiffPatchMem()" and inline its Sink function for simplicity. Bug: 37855643 Test: Prints SHA1 for corrupted patch in imgdiff_test. Change-Id: Ibf2db8c08b0ded1409bb7c91a3547a6bf99c601d |
||
---|---|---|
.. | ||
include/applypatch | ||
Android.mk | ||
applypatch.cpp | ||
applypatch_main.cpp | ||
applypatch_modes.cpp | ||
applypatch_modes.h | ||
bspatch.cpp | ||
freecache.cpp | ||
imgdiff.cpp | ||
imgdiff_main.cpp | ||
imgpatch.cpp | ||
libimgpatch.pc | ||
Makefile | ||
NOTICE |