Re: use-after-free in psql

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: use-after-free in psql
Дата
Msg-id 20060630144132.GA22114@surnet.cl
обсуждение исходный текст
Ответ на use-after-free in psql  (Neil Conway <neilc@samurai.com>)
Список pgsql-bugs
Neil Conway wrote:
> There's a minor bug in the ON_ERROR_ROLLBACK code in psql. In HEAD, at
> line 878 the storage pointed to by "results" is released by a PQclear(),
> but is referenced by the PQcmdStatus() calls on lines 898, 899, and 900.

I think this is the fix for HEAD.  I'll apply after testing it a bit
more.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

Вложения

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

Предыдущее
От: Greg Sabino Mullane
Дата:
Сообщение: Re: use-after-free in psql
Следующее
От: "N. Ramirez"
Дата:
Сообщение: BUG #2507: Problem using two-phase commit