Re: pg_restore loops forever past EOF for corrupt custom archive files

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_restore loops forever past EOF for corrupt custom archive files
Дата
Msg-id 22424.1186331741@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pg_restore loops forever past EOF for corrupt custom archive files  ("Chad Wagner" <chad.wagner@gmail.com>)
Ответы Re: pg_restore loops forever past EOF for corrupt custom archive files  ("Chad Wagner" <chad.wagner@gmail.com>)
Список pgsql-patches
"Chad Wagner" <chad.wagner@gmail.com> writes:
> This patch modifies the ReadStr function in pg_backup_archiver.c to validate
> the result of *AH->ReadBufPtr matches the value of l.

If we're trying to defend against premature EOF, this hardly seems like
a sufficient patch.

            regards, tom lane

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

Предыдущее
От: "Chad Wagner"
Дата:
Сообщение: pg_restore loops forever past EOF for corrupt custom archive files
Следующее
От: "Chad Wagner"
Дата:
Сообщение: Re: pg_restore loops forever past EOF for corrupt custom archive files