Re: null iv parameter passed to combo_init()

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: null iv parameter passed to combo_init()
Дата
Msg-id 1643134.1641713553@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: null iv parameter passed to combo_init()  (Noah Misch <noah@leadboat.com>)
Ответы Re: null iv parameter passed to combo_init()  (Zhihong Yu <zyu@yugabyte.com>)
Список pgsql-hackers
Noah Misch <noah@leadboat.com> writes:
> On further thought, I would write it this way:

> -        else
> +        else if (ivlen != 0)
>              memcpy(ivbuf, iv, ivlen);

FWIW, I liked the "ivlen > 0" formulation better.  They should be
equivalent, because ivlen is unsigned, but it just seems like "> 0"
is more natural.

            regards, tom lane



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

Предыдущее
От: Zhihong Yu
Дата:
Сообщение: Re: null iv parameter passed to combo_init()
Следующее
От: Alexander Lakhin
Дата:
Сообщение: Re: Why is src/test/modules/committs/t/002_standby.pl flaky?