Re: BUG #16476: pgp_sym_encrypt_bytea with compress-level=6 : Wrong key or corrupt data

Kyotaro Horiguchi <horikyota.ntt@gmail.com>

From: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
To: Jeff Janes <jeff.janes@gmail.com>
Cc: frank.gagnepain@intm.fr, pgsql-bugs@lists.postgresql.org
Date: 2020-06-11T13:17:26Z
Lists: pgsql-bugs
>
> The reproducer becomes not to fail with the attached patch.


I put an assertion in the patch, but that is not appropriare. It shoud be
an ereport instead. I’ll fix that later.

regards.
-- 
Kyotaro Horiguchi

Commits

  1. Fix corner case with 16kB-long decompression in pgcrypto, take 2

  2. Fix ancient violation of zlib's API spec.

  3. Revert "Fix corner case with PGP decompression in pgcrypto"

  4. Fix corner case with PGP decompression in pgcrypto