BUG #18742: /src/backend/rewrite/rewriteHandler.c

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 #18742: /src/backend/rewrite/rewriteHandler.c
Date: 2024-12-09 11:23:51
Message-ID: 18742-95fbdd0c522076ad@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: 18742
Logged by: Daniel Elishakov
Email address: dan-eli(at)mail(dot)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.

Responses

Browse pgsql-bugs by date

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