Re: pgsql: This routine was calling ecpg_alloc to allocate to memory but di - Mailing list pgsql-committers

From Michael Meskes
Subject Re: pgsql: This routine was calling ecpg_alloc to allocate to memory but di
Date
Msg-id 55CB3529.1040902@postgresql.org
Whole thread Raw
In response to Re: pgsql: This routine was calling ecpg_alloc to allocate to memory but di  (Michael Paquier <michael.paquier@gmail.com>)
Responses Re: pgsql: This routine was calling ecpg_alloc to allocate to memory but di  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-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


pgsql-committers by date:

Previous
From: Michael Meskes
Date:
Subject: pgsql: This routine was calling ecpg_alloc to allocate to memory but di
Next
From: Michael Paquier
Date:
Subject: Re: pgsql: This routine was calling ecpg_alloc to allocate to memory but di