Обсуждение: [PATCH] Fix use of free in walsender error handling after a sysid mismatch.

Поиск
Список
Период
Сортировка

[PATCH] Fix use of free in walsender error handling after a sysid mismatch.

От
Andres Freund
Дата:
Hi,

Walsender does a PQClear(con) but then accesses data acquired with
PQgetvalue(). That's clearly not ok.

Greetings,

Andres Freund

--
 Andres Freund                       http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

Вложения

Re: [PATCH] Fix use of free in walsender error handling after a sysid mismatch.

От
Heikki Linnakangas
Дата:
On 05/05/2014 07:14 PM, Andres Freund wrote:
> Hi,
>
> Walsender does a PQClear(con) but then accesses data acquired with
> PQgetvalue(). That's clearly not ok.

Fixed, thanks!

- Heikki