At Tue, 12 Nov 2019 14:03:53 +, Ranier Vilela
wrote in
> Hi,
> The condition is :
> 74. if (TupIsNull(slot)) is true
> 85. if (TupIsNull(resultTupleSlot)) is true too.
See the definition of TupIsNull. It checks the tupleslot at a valid
pointer is EMPTY as well. And node->ps.ps_ResultTupl
PATCH][BUG_FIX] Potential null pointer dereferencing.
> On 12 Nov 2019, at 14:07, Ranier Vilela wrote:
> ExecClearTuple don't check por NULL pointer arg and according
> TupIsNull slot can be NULL.
I assume you are referring to the TupIsNull(resultTupleSlot) check a few lines
down in
> On 12 Nov 2019, at 14:07, Ranier Vilela wrote:
> ExecClearTuple don't check por NULL pointer arg and according
> TupIsNull slot can be NULL.
I assume you are referring to the TupIsNull(resultTupleSlot) check a few lines
down in the same loop? If resultTupleSlot was indeed NULL and not empty,