mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-08 20:59:23 +02:00
A compressed stream may end with an empty packet. In this case decompression finishes before reading the empty packet and the remaining stream packet causes a failure in reading the following data. This commit makes sure to consume such extra data, avoiding a failure when decompression the data. This corner case was reproducible easily with a data length of 16kB, and existed since |
||
---|---|---|
.. | ||
3des.out | ||
blowfish.out | ||
cast5.out | ||
crypt-blowfish.out | ||
crypt-des.out | ||
crypt-md5.out | ||
crypt-xdes.out | ||
des.out | ||
hmac-md5.out | ||
hmac-sha1.out | ||
init.out | ||
md5.out | ||
pgp-armor.out | ||
pgp-compression.out | ||
pgp-decrypt.out | ||
pgp-encrypt.out | ||
pgp-info.out | ||
pgp-pubkey-decrypt.out | ||
pgp-pubkey-encrypt.out | ||
pgp-zlib-DISABLED.out | ||
rijndael.out | ||
sha1.out | ||
sha2.out |