Re: may be a buffer overflow problem

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: may be a buffer overflow problem
Дата
Msg-id fc876438848ec2b6f52954fa3eb98f51dc21d988.camel@cybertec.at
обсуждение исходный текст
Ответ на Re: may be a buffer overflow problem  (Daniel Gustafsson <daniel@yesql.se>)
Ответы Re: may be a buffer overflow problem
Список pgsql-hackers
On Fri, 2024-06-14 at 10:10 +0200, Daniel Gustafsson wrote:
> > On 14 Jun 2024, at 10:06, Laurenz Albe <laurenz.albe@cybertec.at> wrote:
>
> > So you think we should ignore that compiler warning?
>
> We already do using this in meson.build:
>
>   # Similarly disable useless truncation warnings from gcc 8+
>   'format-truncation',
>   'stringop-truncation',

Right; and I see that -Wno-stringop-truncation is also set if you build
with "make".  So your patch is good.

I wonder how Winter Loo got to see that warning...

Yours,
Laurenz Albe



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

Предыдущее
От: Daniel Gustafsson
Дата:
Сообщение: Re: may be a buffer overflow problem
Следующее
От: Daniel Gustafsson
Дата:
Сообщение: Re: may be a buffer overflow problem