Re: Fix infinite loop from setting scram_iterations to INT_MAX

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Fix infinite loop from setting scram_iterations to INT_MAX
Дата
Msg-id Z-CtWorth2Lb6FPs@paquier.xyz
обсуждение исходный текст
Ответ на Re: Fix infinite loop from setting scram_iterations to INT_MAX  (Richard Guo <guofenglinux@gmail.com>)
Ответы Re: Fix infinite loop from setting scram_iterations to INT_MAX
Список pgsql-hackers
On Mon, Mar 24, 2025 at 09:50:36AM +0900, Richard Guo wrote:
> Nice catch.  The fix looks good to me.  It seems to me that it's fine
> to go without a test case, since the fix is quite straightforward.

One could argue about using an injection point to force trick the
iteration loop to be cheaper, but I could not really get excited about
the coverage vs the cycles spent for it..
--
Michael

Вложения

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