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

From: Ranier Vilela <ranier(dot)vf(at)gmail(dot)com>
To: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Fix array access (src/bin/pg_dump/pg_dump.c)
Date: 2024-11-12 22:13:35
Message-ID: CAEudQAqpCLi40gozMutF--8ZdZGaQ7h4Hsq=Bh=QEHimR5LwKg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Em ter., 12 de nov. de 2024 às 16:11, Alvaro Herrera <
alvherre(at)alvh(dot)no-ip(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jim Jones 2024-11-13 00:16:42 Re: [PoC] XMLCast (SQL/XML X025)
Previous Message Jacob Champion 2024-11-12 21:47:07 Re: [PoC] Federated Authn/z with OAUTHBEARER