summaryrefslogtreecommitdiff
path: root/base/include/android-base/errors.h
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2015-11-04 17:54:32 -0800
committerChristopher Ferris <cferris@google.com>2015-11-05 10:48:05 -0800
commita2a32b0ec6a5b51983bc14f6823631a6bcae2690 (patch)
treef279334c29fec5c489b2ac50efca33d9d4c15378 /base/include/android-base/errors.h
parent77cdfbd50c2110ade6e57319f99c966c45174fd8 (diff)
Fix bug in writing zips.
The code does not handle an edge case where writing a compressed image can overflow the avail_out data when doing a flush. Add a loop to keep writing the data while deflate indicates that it doesn't have enough space to write out the compressed data during the flush. Change-Id: I1f1d1646457ed9b67ed24f6582688c300186c23c
Diffstat (limited to 'base/include/android-base/errors.h')
0 files changed, 0 insertions, 0 deletions