pgsql: Check for out of memory when allocating sqlca. - Mailing list pgsql-committers

From Michael Meskes
Subject pgsql: Check for out of memory when allocating sqlca.
Date
Msg-id E1Z4TZx-0006G3-E0@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Check for out of memory when allocating sqlca.

Patch by Michael Paquier

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/711cbaadd078321507fb9bc507ffe727e976bbf7

Modified Files
--------------
src/interfaces/ecpg/compatlib/informix.c |    2 ++
src/interfaces/ecpg/ecpglib/connect.c    |   21 +++++++++++++++++++++
src/interfaces/ecpg/ecpglib/data.c       |    7 +++++++
src/interfaces/ecpg/ecpglib/descriptor.c |   28 ++++++++++++++++++++++++++++
src/interfaces/ecpg/ecpglib/error.c      |   20 ++++++++++++++++++++
src/interfaces/ecpg/ecpglib/execute.c    |    7 +++++++
src/interfaces/ecpg/ecpglib/misc.c       |   20 +++++++++++++++++++-
7 files changed, 104 insertions(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Michael Meskes
Date:
Subject: pgsql: Check for out of memory when allocating sqlca.
Next
From: Michael Meskes
Date:
Subject: pgsql: Fix memory leak in ecpglib's connect function.