Re: (yet) more buffer paranoia

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: (yet) more buffer paranoia
Дата
Msg-id 25446.1030163567@sss.pgh.pa.us
обсуждение исходный текст
Ответ на (yet) more buffer paranoia  (Neil Conway <neilc@samurai.com>)
Ответы Re: (yet) more buffer paranoia  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: (yet) more buffer paranoia  (Neil Conway <neilc@samurai.com>)
Список pgsql-patches
Neil Conway <neilc@samurai.com> writes:
> This patches replaces a few more usages of strcpy() and sprintf() when
> copying into a fixed-size buffer (in this case, a buffer of
> NAMEDATALEN bytes). AFAICT nothing to worry about here, but worth
> fixing anyway...

I'm not that eager to replace every single sprintf with snprintf.
Most of these are obviously safe and do not need the clutter and
extra cycles...

            regards, tom lane

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: (yet) more buffer paranoia
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: (yet) more buffer paranoia