pgsql: Add missing check for malloc failure in plpgsql_extra_checks_che

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add missing check for malloc failure in plpgsql_extra_checks_che
Date: 2016-06-20 19:37:24
Message-ID: E1bF50e-0002zw-KD@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add missing check for malloc failure in plpgsql_extra_checks_check_hook().

Per report from Andreas Seltenreich. Back-patch to affected versions.

Report: <874m8nn0hv(dot)fsf(at)elite(dot)ansel(dot)ydns(dot)eu>

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/1d07722f0174b563bbd3640f046dbd4de126ffe4

Modified Files
--------------
src/pl/plpgsql/src/pl_handler.c | 2 ++
1 file changed, 2 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2016-06-20 20:25:20 pgsql: Stamp 9.6beta2.
Previous Message Tom Lane 2016-06-20 15:30:03 pgsql: pg_trgm's set_limit() function is parallel unsafe, not parallel