]> granicus.if.org Git - postgresql/commit
Backpatch Zdenek Kotala's fix to prevent pglz_decompress from stomping on
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 28 May 2008 21:58:03 +0000 (21:58 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 28 May 2008 21:58:03 +0000 (21:58 +0000)
commitf26cbcab751e1c81fc704eeb14e28ea6c84150ed
treee3952fdbaa4507f05beec0ee0b9306521e626998
parent85a24f0dd9acc32afa6b373daa8603518bcfdc24
Backpatch Zdenek Kotala's fix to prevent pglz_decompress from stomping on
memory if the compressed data is corrupt.

Backpatch as far as 8.2.  The issue exists in older branches too, but given
the lack of field reports, it's not clear it's worth any additional effort
to adapt the patch to the slightly different code in older branches.
src/backend/utils/adt/pg_lzcompress.c