mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-08-30 20:17:20 +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.sql | ||
blowfish.sql | ||
cast5.sql | ||
crypt-blowfish.sql | ||
crypt-des.sql | ||
crypt-md5.sql | ||
crypt-xdes.sql | ||
des.sql | ||
hmac-md5.sql | ||
hmac-sha1.sql | ||
init.sql | ||
md5.sql | ||
pgp-armor.sql | ||
pgp-compression.sql | ||
pgp-decrypt.sql | ||
pgp-encrypt.sql | ||
pgp-info.sql | ||
pgp-pubkey-decrypt.sql | ||
pgp-pubkey-encrypt.sql | ||
pgp-zlib-DISABLED.sql | ||
rijndael.sql | ||
sha1.sql | ||
sha2.sql |