On Wed, 15 Sep 2021 07:40:35 GMT, Ravi Reddy <rre...@openjdk.org> wrote:
> Hi all, > > Please review this fix for Infinite loop in ZipOutputStream.close(). > The main issue here is when ever there is an exception during close > operations on GZip we are not setting the deflator to a finished state which > is leading to an infinite loop when we try writing on the same GZip instance( > since we use while(!def.finished()) inside the write operation). > > Thanks, > Ravi This pull request has now been integrated. Changeset: 1e9ed54d Author: Ravi Reddy <rre...@openjdk.org> Committer: Sean Coffey <coff...@openjdk.org> URL: https://git.openjdk.java.net/jdk/commit/1e9ed54d362b8c57be5fbbac2de5afbd0f05435f Stats: 258 lines in 4 files changed: 191 ins; 29 del; 38 mod 8193682: Infinite loop in ZipOutputStream.close() Reviewed-by: lancea, coffeys ------------- PR: https://git.openjdk.java.net/jdk/pull/5522