BUG #18868: /src/backend/optimizer/path/joinrels.c list_head can be NULL
PG Bug reporting form <noreply@postgresql.org>
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: dan-eli@mail.ru
Date: 2025-03-26T10:16:53Z
Lists: 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.