Обсуждение: pgsql: Backpatch Zdenek Kotala's fix to prevent pglz_decompress from

Поиск
Список
Период
Сортировка

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

От
tgl@postgresql.org (Tom Lane)
Дата:
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)