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

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Cc: tgl@sss.pgh.pa.us, jeff.janes@gmail.com, frank.gagnepain@intm.fr, pgsql-bugs@lists.postgresql.org
Date: 2020-07-07T06:07:22Z
Lists: pgsql-bugs
On Thu, Jun 25, 2020 at 03:45:41PM +0900, Michael Paquier wrote:
> The inputs and outputs perfectly matched in all my tests, with the
> 16kB string being the only one failing in the range I have tested on
> HEAD, test passing with the patch of course.  One or more extra pairs
> of eyes is welcome, so please feel free to look at the version
> attached.

Horiguchi-san, as you looked at this thread, would you like to look at
what I sent previously?  There is still time until the next minor
release, but this thread has been idle for close to two weeks now.
--
Michael

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