Re: Patch: incorrect array offset in backend replication tar header

Поиск
Список
Период
Сортировка
От Brian Weaver
Тема Re: Patch: incorrect array offset in backend replication tar header
Дата
Msg-id CAAhXZGtKS5FDJwXX7vMADud8HrLUZstVkAo646nLfRTgomSz5A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Patch: incorrect array offset in backend replication tar header  (Brian Weaver <cmdrclueless@gmail.com>)
Список pgsql-hackers
Um.... I apologize for the third e-mail on the topic. It seems that my
C coding is a bit rusty from years of neglect. No sooner had I hit the
send button then I realized that trying to embed a null character in a
string might not work, especially when it's followed by two
consecutive zeros.

Here is a safer fix which is more in line with the rest of the code in
the file. I guess this is what I get for being cleaver.

Patch is attached

--

/* insert witty comment here */

Вложения

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

Предыдущее
От: Brian Weaver
Дата:
Сообщение: Re: Patch: incorrect array offset in backend replication tar header
Следующее
От: Rural Hunter
Дата:
Сообщение: Re: [ADMIN] pg_upgrade from 9.1.3 to 9.2 failed