BUG #18742: /src/backend/rewrite/rewriteHandler.c - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #18742: /src/backend/rewrite/rewriteHandler.c
Date
Msg-id 18742-95fbdd0c522076ad@postgresql.org
Whole thread Raw
Responses Re: BUG #18742: /src/backend/rewrite/rewriteHandler.c
List pgsql-bugs
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.


pgsql-bugs by date:

Previous
From: Nick Davies
Date:
Subject: Re: FF3 vs MS Date/Time Template - ERROR: date/time field value out of range
Next
From: PG Bug reporting form
Date:
Subject: BUG #18743: /src/backend/rewrite/rewriteHandler.c