platform_bootable_recovery/applypatch
Tianjie Xu 71e182bc38 Check an edge case when read(2) returns 0
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
2016-08-31 19:11:41 -07:00
..
include/applypatch Fix the improper use of LOCAL_WHOLE_STATIC_LIBRARIES. 2016-03-03 14:52:44 -08:00
testdata relocate applypatch; add type system and new functions to edify 2010-02-18 14:22:12 -08:00
Android.mk Fix references to libcrypto_utils_static. 2016-08-05 18:08:03 -07:00
applypatch.cpp Check an edge case when read(2) returns 0 2016-08-31 19:11:41 -07:00
applypatch.sh refactor applypatch and friends 2010-02-22 15:30:33 -08:00
bspatch.cpp Fix the improper use of LOCAL_WHOLE_STATIC_LIBRARIES. 2016-03-03 14:52:44 -08:00
freecache.cpp Fix the improper use of LOCAL_WHOLE_STATIC_LIBRARIES. 2016-03-03 14:52:44 -08:00
imgdiff.cpp Revert "Fix memory/resource handling in imgdiff.cpp, using unique_ptr and vector." 2016-06-01 13:15:44 -07:00
imgdiff.h relocate applypatch; add type system and new functions to edify 2010-02-18 14:22:12 -08:00
imgdiff_test.sh relocate applypatch; add type system and new functions to edify 2010-02-18 14:22:12 -08:00
imgpatch.cpp resolve merge conflicts of 490fad6 to nyc-dev-plus-aosp 2016-06-13 19:12:46 -07:00
libimgpatch.pc applypatch: Add libimgpatch.pc 2016-02-16 11:35:29 -08:00
main.cpp Remove obsolete MTD support. 2016-06-10 13:45:35 -07:00
Makefile Add include/ to the Makefile include path. 2016-03-14 14:25:33 -07:00
NOTICE Add NOTICE file 2012-04-06 13:51:00 -07:00
utils.cpp Fix google-runtime-int warnings. 2016-04-18 12:29:30 -07:00
utils.h Fix google-runtime-int warnings. 2016-04-18 12:29:30 -07:00