Re: Detecting pointer misalignment (was Re: pgsql: Implementation of subscripting for jsonb)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Detecting pointer misalignment (was Re: pgsql: Implementation of subscripting for jsonb)
Дата
Msg-id 1870527.1613257149@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Detecting pointer misalignment (was Re: pgsql: Implementation of subscripting for jsonb)  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Detecting pointer misalignment (was Re: pgsql: Implementation of subscripting for jsonb)  (Alexander Korotkov <aekorotkov@gmail.com>)
Список pgsql-hackers
I wrote:
> Alexander Korotkov <aekorotkov@gmail.com> writes:
>> On Fri, Feb 12, 2021 at 8:19 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>>> Once this does settle, should we consider back-patching so that it's
>>> possible to run alignment checks in the back branches too?

>> +1

> Let's make sure we have a clean set of builds and then do that.

The buildfarm seems to be happy --- the active members that haven't
reported in should be unaffected by this patch, either because their
compiler versions are too old or because they're not x86 architecture.
So I went ahead and back-patched, and have adjusted longfin to apply
the -fsanitize switch in all branches.

(I've checked that 9.6 passes check-world this way, but not the
intermediate branches, so it's possible something will fail...)

            regards, tom lane



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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: WIP: WAL prefetch (another approach)
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: pg_cryptohash_final possible out-of-bounds access (per Coverity)