]> 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:08 +0000 (21:58 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 28 May 2008 21:58:08 +0000 (21:58 +0000)
commitd015675da6861bb5bc443bcc8fbefb4d27159e67
treea3d88ed60bdd2cfde1075424239995990bdab67b
parenta943df0ba5e450984d16d6c06550d5ecd5773063
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