pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: dan-eli@mail.ru
Subject: BUG #18869: /src/backend/optimizer/plan/createplan.c clause can be null if user isn't root
Date: Wed, 26 Mar 2025 10:20:05 +0000
Message-ID: <18869-0bacaab42e8d02eb@postgresql.org> (raw)

The following bug has been logged on the website:

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

If root is NULL, pointer clause can also be NULL and then dereferenced at
createplan.c:5104 at if (IsA(clause, OpExpr)). I guess there should be a
check for NULL.



view thread (2+ messages)  latest in thread

Message-ID: <18869-0bacaab42e8d02eb@postgresql.org>
Permalink:  ../18869-0bacaab42e8d02eb@postgresql.org/
Also on:    postgresql.org/message-id/18869-0bacaab42e8d02eb@postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, dan-eli@mail.ru
  Subject: Re: BUG #18869: /src/backend/optimizer/plan/createplan.c clause can be null if user isn't root
  In-Reply-To: <18869-0bacaab42e8d02eb@postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox