71e182bc38
We might end up in an infinite loop if read(2) reached EOF unexpectedly. The problematic code in uncrypt mentioned in the bug has been fixed by switching to libbase ReadFully(). So I grepped through the recovery code and fixed some other occurences of the issue. Bug: 31073201 Change-Id: Ib867029158ba23363b8f85d61c25058a635c5a6b |
||
---|---|---|
.. | ||
include/applypatch | ||
testdata | ||
Android.mk | ||
applypatch.cpp | ||
applypatch.sh | ||
bspatch.cpp | ||
freecache.cpp | ||
imgdiff.cpp | ||
imgdiff.h | ||
imgdiff_test.sh | ||
imgpatch.cpp | ||
libimgpatch.pc | ||
main.cpp | ||
Makefile | ||
NOTICE | ||
utils.cpp | ||
utils.h |