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

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: pgsql: This routine was calling ecpg_alloc to allocate to memory but di
Дата
Msg-id CAB7nPqQMpg40UCaiAWZRcjhsYKtEW9bK8SeXyH2bSr+r8TY87w@mail.gmail.com
обсуждение исходный текст
Ответ на pgsql: This routine was calling ecpg_alloc to allocate to memory but di  (Michael Meskes <meskes@postgresql.org>)
Ответы Re: pgsql: This routine was calling ecpg_alloc to allocate to memory but di  (Michael Meskes <meskes@postgresql.org>)
Список pgsql-committers
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...
--
Michael


В списке pgsql-committers по дате отправления:

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Fix off-by-one error in calculating subtrans/multixact truncatio
Следующее
От: Andrew Dunstan
Дата:
Сообщение: pgsql: Redirect install output of make check into a log file