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

From Ranier Vilela
Subject Possible pointer var TupleDesc rettupdesc used not initialized (src/backend/optimizer/util/clauses.c)
Date
Msg-id CAEudQAqBqQpQ3HruWAGU_7WaMJ7tntpk0T8k_dVtNB46DqdBgw@mail.gmail.com
Whole thread Raw
Responses Re: Possible pointer var TupleDesc rettupdesc used not initialized (src/backend/optimizer/util/clauses.c)
Re: Possible pointer var TupleDesc rettupdesc used not initialized (src/backend/optimizer/util/clauses.c)
List pgsql-hackers
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.

regards,
Ranier Vilela

pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: Testing autovacuum wraparound (including failsafe)
Next
From: "osumi.takamichi@fujitsu.com"
Date:
Subject: RE: Test of a partition with an incomplete detach has a timing issue