pgsql: Backpatch Zdenek Kotala's fix to prevent pglz_decompress from

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Backpatch Zdenek Kotala's fix to prevent pglz_decompress from
Date: 2008-05-28 21:58:08
Message-ID: 20080528215808.DBB42754C54@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
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.

Tags:
----
REL8_2_STABLE

Modified Files:
--------------
pgsql/src/backend/utils/adt:
pg_lzcompress.c (r1.23 -> r1.23.2.1)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/pg_lzcompress.c?r1=1.23&r2=1.23.2.1)

Browse pgsql-committers by date

  From Date Subject
Next Message User Neothezion 2008-05-29 00:25:54 nairogms - alpha: New Directory
Previous Message Tom Lane 2008-05-28 21:58:03 pgsql: Backpatch Zdenek Kotala's fix to prevent pglz_decompress from