commit | a2a32b0ec6a5b51983bc14f6823631a6bcae2690 | [log] [tgz] |
---|---|---|
author | Christopher Ferris <cferris@google.com> | Wed Nov 04 17:54:32 2015 -0800 |
committer | Christopher Ferris <cferris@google.com> | Thu Nov 05 10:48:05 2015 -0800 |
tree | f279334c29fec5c489b2ac50efca33d9d4c15378 | |
parent | 77cdfbd50c2110ade6e57319f99c966c45174fd8 [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