Re: [PATCH] FIx explicit null dereference pointer (nbtree.c)

2020-04-22 Thread Ranier Vilela
Em qua., 22 de abr. de 2020 às 21:24, Peter Geoghegan escreveu: > On Wed, Apr 22, 2020 at 3:55 PM Ranier Vilela wrote: > > per Coverity. > > Some Postgres hackers have access to a dedicated coverity > installation, and this issue has probably already been dismissed. > I will take a note. > > >

Re: [PATCH] FIx explicit null dereference pointer (nbtree.c)

2020-04-22 Thread Peter Geoghegan
On Wed, Apr 22, 2020 at 3:55 PM Ranier Vilela wrote: > per Coverity. Some Postgres hackers have access to a dedicated coverity installation, and this issue has probably already been dismissed. > 1. assign_zero: Assigning: opaque = NULL. > 2. Condition buf < 0, taking true branch. > 3. Condition

[PATCH] FIx explicit null dereference pointer (nbtree.c)

2020-04-22 Thread Ranier Vilela
Hi, per Coverity. 1. assign_zero: Assigning: opaque = NULL. 2. Condition buf < 0, taking true branch. 3. Condition !(((PageHeader)page)->pd_upper == 0), taking false branch. 4. Condition blkno != orig_blkno, taking true branch. 5. Condition _bt_page_recyclable(page), taking false branch. CID 13147