From: Michael Meskes <meskes@postgresql.org>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: This routine was calling ecpg_alloc to allocate to memory but di
Date: Wed, 12 Aug 2015 13:59:37 +0200
Message-ID: <55CB3529.1040902@postgresql.org> (raw)
In-Reply-To: <CAB7nPqQMpg40UCaiAWZRcjhsYKtEW9bK8SeXyH2bSr+r8TY87w@mail.gmail.com>
References: <E1YJNBy-0003DF-Va@gemulon.postgresql.org>
<CAB7nPqQMpg40UCaiAWZRcjhsYKtEW9bK8SeXyH2bSr+r8TY87w@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
On 23.07.2015 09:19, Michael Paquier wrote:
> On Thu, Feb 5, 2015 at 11:14 PM, Michael Meskes <meskes@postgresql.org> wrote:
>> This routine was calling ecpg_alloc to allocate to memory but did not
>> actually check the returned pointer allocated, potentially NULL which
>> could be the result of a malloc call.
>>
>> Issue noted by Coverity, fixed by Michael Paquier <michael@otacoo.com>
>
> Coming back to it, perhaps this meritates a backpatch? Even if that's
> unlikely to happen...
cherry-picked and pushed to all back branches.
Sorry, the disadvantage of testing in master for a while, I simply
forgot about this change.
Michael
--
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Meskes at (Debian|Postgresql) dot Org
Jabber: michael.meskes at gmail dot com
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: meskes@postgresql.org, michael.paquier@gmail.com
Subject: Re: pgsql: This routine was calling ecpg_alloc to allocate to memory but di
In-Reply-To: <55CB3529.1040902@postgresql.org>
References: <E1YJNBy-0003DF-Va@gemulon.postgresql.org> <CAB7nPqQMpg40UCaiAWZRcjhsYKtEW9bK8SeXyH2bSr+r8TY87w@mail.gmail.com> <55CB3529.1040902@postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox