[PATCH] readlink missing nul-termination in pg_rewind

Поиск
Список
Период
Сортировка
От Abhijit Menon-Sen
Тема [PATCH] readlink missing nul-termination in pg_rewind
Дата
Msg-id 20150528154348.GA22156@toroid.org
обсуждение исходный текст
Ответы Re: [PATCH] readlink missing nul-termination in pg_rewind  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: [PATCH] readlink missing nul-termination in pg_rewind  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
This is just something I noticed in passing. (I did a quick check of all
the other uses of readlink in the source, and they do get this right.)

-- Abhijit

P.S. Also in passing, I note that pg_rewind will follow links under any
directory anywhere named pg_tblspc (which probably doesn't matter), and
does not follow pg_xlog if it's a symlink (which probably does). If you
want, I can submit a trivial patch for the latter.

Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: WIP: Enhanced ALTER OPERATOR
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [PATCH] readlink missing nul-termination in pg_rewind