BUG #18868: /src/backend/optimizer/path/joinrels.c list_head can be NULL - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #18868: /src/backend/optimizer/path/joinrels.c list_head can be NULL
Date
Msg-id 18868-76a65f10dd526ee5@postgresql.org
Whole thread Raw
Responses Re: BUG #18868: /src/backend/optimizer/path/joinrels.c list_head can be NULL
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      18868
Logged by:          Daniel Elishakov
Email address:      dan-eli@mail.ru
PostgreSQL version: 17.4
Operating system:   ubuntu 20.04
Description:

Pointers, returned from function 'list_head' at joinrels.c:1527 and 1528,
may be NULL and is dereferenced at joinrels.c:1550 and 1551.


pgsql-bugs by date:

Previous
From: PG Bug reporting form
Date:
Subject: BUG #18867: /src/interfaces/ecpg/preproc/descriptor.c usage of ECPGdump_a_type
Next
From: PG Bug reporting form
Date:
Subject: BUG #18869: /src/backend/optimizer/plan/createplan.c clause can be null if user isn't root