Re: Possible pointer var TupleDesc rettupdesc used not initialized (src/backend/optimizer/util/clauses.c) - Mailing list pgsql-hackers

From Mark Dilger
Subject Re: Possible pointer var TupleDesc rettupdesc used not initialized (src/backend/optimizer/util/clauses.c)
Date
Msg-id 7966F76F-26E3-4EF9-8C60-D95BEB51E8A4@enterprisedb.com
Whole thread Raw
In response to Possible pointer var TupleDesc rettupdesc used not initialized (src/backend/optimizer/util/clauses.c)  (Ranier Vilela <ranier.vf@gmail.com>)
Responses Re: Possible pointer var TupleDesc rettupdesc used not initialized (src/backend/optimizer/util/clauses.c)
List pgsql-hackers

> On May 24, 2021, at 5:37 PM, Ranier Vilela <ranier.vf@gmail.com> wrote:
>
> Hi,
>
> Possible pointer TupleDesc rettupdesc used not initialized?
>
> if (!isNull) at line 4346 taking a true branch, the function check_sql_fn_retval at line 4448 can use rettupdesc
uninitialized.

Care to submit a patch?

—
Mark Dilger
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company






pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Force disable of SSL renegociation in the server
Next
From: Ranier Vilela
Date:
Subject: Re: Possible pointer var TupleDesc rettupdesc used not initialized (src/backend/optimizer/util/clauses.c)