BUG #18868: /src/backend/optimizer/path/joinrels.c list_head can be NULL

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: dan-eli(at)mail(dot)ru
Subject: BUG #18868: /src/backend/optimizer/path/joinrels.c list_head can be NULL
Date: 2025-03-26 10:16:53
Message-ID: 18868-76a65f10dd526ee5@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 18868
Logged by: Daniel Elishakov
Email address: dan-eli(at)mail(dot)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.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2025-03-26 10:20:05 BUG #18869: /src/backend/optimizer/plan/createplan.c clause can be null if user isn't root
Previous Message PG Bug reporting form 2025-03-26 10:13:59 BUG #18867: /src/interfaces/ecpg/preproc/descriptor.c usage of ECPGdump_a_type