Re: Fix array access (src/bin/pg_dump/pg_dump.c)

Поиск
Список
Период
Сортировка
От Ranier Vilela
Тема Re: Fix array access (src/bin/pg_dump/pg_dump.c)
Дата
Msg-id CAEudQAqpCLi40gozMutF--8ZdZGaQ7h4Hsq=Bh=QEHimR5LwKg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Fix array access (src/bin/pg_dump/pg_dump.c)  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Список pgsql-hackers
Em ter., 12 de nov. de 2024 às 16:11, Alvaro Herrera <alvherre@alvh.no-ip.org> escreveu:
On 2024-Nov-12, Ranier Vilela wrote:

> Per Coverity.
>
> The function *determineNotNullFlags* has a little oversight.
> The struct field *notnull_islocal* is an array.
>
> I think this is a simple typo.
> Fix using array notation access.

Yeah, thanks, I had been made aware of this bug.  Before fixing I'd like
to construct a test case that tickles that code, because it's currently
uncovered  *shudder*
Thanks for taking care of this.

best regards,
Ranier Vilela

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