Re: pgsql: This routine was calling ecpg_alloc to allocate to memory but di

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Michael Meskes <meskes(at)postgresql(dot)org>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: This routine was calling ecpg_alloc to allocate to memory but di
Date: 2015-07-23 07:19:42
Message-ID: CAB7nPqQMpg40UCaiAWZRcjhsYKtEW9bK8SeXyH2bSr+r8TY87w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

On Thu, Feb 5, 2015 at 11:14 PM, Michael Meskes <meskes(at)postgresql(dot)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(at)otacoo(dot)com>

Coming back to it, perhaps this meritates a backpatch? Even if that's
unlikely to happen...
--
Michael

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2015-07-23 13:54:03 pgsql: Redirect install output of make check into a log file
Previous Message Heikki Linnakangas 2015-07-22 22:31:44 pgsql: Fix off-by-one error in calculating subtrans/multixact truncatio