Re: BUG #1189: unbounded string copy in postmaster

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #1189: unbounded string copy in postmaster
Дата
Msg-id 21669.1089502294@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #1189: unbounded string copy in postmaster  ("PostgreSQL Bugs List" <pgsql-bugs@postgresql.org>)
Список pgsql-bugs
"PostgreSQL Bugs List" <pgsql-bugs@postgresql.org> writes:
> Looks like the -o command line option doesn't perform any bounds checking on
> the option before copying to the ExtraOptions[1024] char array. [line 529 of
> postmaster.c]

I cannot get super excited about this, since the person or script
starting the postmaster has to be trusted anyway.  But I've tweaked
the code to prevent a buffer overrun here.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #1188: evaluation order of select seems to be wrong
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Dump/Restore of cvs regression database gives invalid timestamp