From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: dan-eli@mail.ru
Subject: BUG #18742: /src/backend/rewrite/rewriteHandler.c
Date: Mon, 09 Dec 2024 11:23:51 +0000
Message-ID: <18742-95fbdd0c522076ad@postgresql.org> (raw)
The following bug has been logged on the website:
Bug reference: 18742
Logged by: Daniel Elishakov
Email address: dan-eli@mail.ru
PostgreSQL version: 16.4
Operating system: ubuntu 20.04
Description:
Deref of view->rd_rules->numLocks takes place without checking
view->rd_rules for NULL. The check rel->rd_rules for NULL above leaves an
opportunity for calling get_view_query() function. During the initialization
and execution rd_rules field of Relation structure is NULL.
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 #18742: /src/backend/rewrite/rewriteHandler.c
In-Reply-To: <18742-95fbdd0c522076ad@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