Re: Fix out-of-bounds in the function GetCommandTagName

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Fix out-of-bounds in the function GetCommandTagName
Дата
Msg-id 767885.1715621896@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Fix out-of-bounds in the function GetCommandTagName  (David Rowley <dgrowleyml@gmail.com>)
Ответы Re: Fix out-of-bounds in the function GetCommandTagName  (Ranier Vilela <ranier.vf@gmail.com>)
Список pgsql-hackers
David Rowley <dgrowleyml@gmail.com> writes:
> I've added a CF entry under your name for this:
> https://commitfest.postgresql.org/48/4927/

> If it was code new to PG17 I'd be inclined to go ahead with it now,
> but it does not seem to align with making the release mode stable.
> I'd bet others will feel differently about that.  Delaying seems a
> better default choice at least.

The security team's Coverity instance has started to show this
complaint now too.  So I'm going to go ahead and push this change
in HEAD.  It's probably unwise to change it in stable branches,
since there's at least a small chance some external code is using
COMMAND_TAG_NEXTTAG for the same purpose tag_behavior[] does.
But we aren't anywhere near declaring v17's API stable, so
I'd rather fix the issue than dismiss it in HEAD.

            regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Allowing additional commas between columns, and at the end of the SELECT clause
Следующее
От: Jelte Fennema-Nio
Дата:
Сообщение: Re: Direct SSL connection with ALPN and HBA rules