Skip site navigation (1) Skip section navigation (2)

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:03
Message-ID: 20080528215803.43F88754C54@cvs.postgresql.org (view raw or flat)
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_3_STABLE

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        pg_lzcompress.c (r1.29 -> r1.29.2.1)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/pg_lzcompress.c?r1=1.29&r2=1.29.2.1)

pgsql-committers by date

Next:From: Tom LaneDate: 2008-05-28 21:58:08
Subject: pgsql: Backpatch Zdenek Kotala's fix to prevent pglz_decompress from
Previous:From: Alex HunsakerDate: 2008-05-28 16:53:15
Subject: Re: pgsql: Add a field to guc enums to allow hiding of values from display

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group