Re: glibc qsort() vulnerability

Поиск
Список
Период
Сортировка
От Nathan Bossart
Тема Re: glibc qsort() vulnerability
Дата
Msg-id 20240208024558.GB445153@nathanxps13
обсуждение исходный текст
Ответ на Re: glibc qsort() vulnerability  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
On Wed, Feb 07, 2024 at 06:06:37PM -0800, Andres Freund wrote:
> Another branchless variant is (a > b) - (a < b). It seems to get a similar
> improvement as the overflow-checking version.

Well, that's certainly more elegant.  I updated the patch to that approach
for now.

-- 
Nathan Bossart
Amazon Web Services: https://aws.amazon.com

Вложения

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

Предыдущее
От: Peter Smith
Дата:
Сообщение: Re: Question about behavior of deletes with REPLICA IDENTITY NOTHING
Следующее
От: Thomas Munro
Дата:
Сообщение: Re: glibc qsort() vulnerability