platform_bootable_recovery/applypatch
Tao Bao 490fad6791 applypatch: Don't call inflate() when it expects zero-length output.
We may have expanded_len == 0 when calling inflate(). After switching to
using std::vector, it passes a nullptr buffer to inflate() and leads to
Z_STREAM_ERROR.

Bug: 29312140
Change-Id: Iab7c6c07a9e8488e844e7cdda76d02bd60d2ea98
2016-06-13 16:42:52 -07:00
..
include/applypatch applypatch: Compile libimgpatch for target and host. 2016-01-28 13:26:25 +08:00
testdata relocate applypatch; add type system and new functions to edify 2010-02-18 14:22:12 -08:00
Android.mk resolve merge conflicts of 715d8a203a to master. 2016-02-05 15:27:52 -08:00
applypatch.cpp Control fault injection with config files instead of build flags 2016-03-18 17:58:25 -07:00
applypatch.h applypatch: use vector to store data in FileContents. 2016-03-11 11:11:11 -08:00
applypatch.sh refactor applypatch and friends 2010-02-22 15:30:33 -08:00
bsdiff.cpp recovery: Switch applypatch/ and updater/ to cpp. 2015-07-13 17:21:31 -07:00
bspatch.cpp applypatch: fix memory leaks reported by static analysis. 2016-02-04 15:42:02 -08:00
freecache.cpp applypatch: fix memory leaks reported by static analysis. 2016-02-04 15:42:02 -08:00
imgdiff.cpp imgdiff: skip spurious gzip headers in image files 2015-12-23 09:43:59 -08: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 applypatch: Don't call inflate() when it expects zero-length output. 2016-06-13 16:42:52 -07:00
main.cpp applypatch: use vector to store data in FileContents. 2016-03-11 11:11:11 -08:00
NOTICE Add NOTICE file 2012-04-06 13:51:00 -07:00
utils.cpp recovery: Switch applypatch/ and updater/ to cpp. 2015-07-13 17:21:31 -07:00
utils.h refactor applypatch and friends 2010-02-22 15:30:33 -08:00