pgsql: Add missing check for malloc failure in plpgsql_extra_checks_che

Lists: pgsql-committers
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: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
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
------
master

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

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