pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix uninitialized memory bug
Date: Thu, 22 Apr 2021 20:05:31 +0000
Message-ID: <E1lZfZr-0005An-NR@gemulon.postgresql.org> (raw)

Fix uninitialized memory bug

Have interested callers of find_inheritance_children set the
detached_exist value to false prior to calling it, so that that routine
only has to set it true in the rare cases where it is necessary.  Don't
touch it otherwise.

Per buildfarm member thorntail (which reported a UBSan failure here).

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/43b55ec4bc3bc06596d966391f16defe016310ec

Modified Files
--------------
src/backend/catalog/pg_inherits.c   | 5 +----
src/backend/partitioning/partdesc.c | 1 +
2 files changed, 2 insertions(+), 4 deletions(-)



Message-ID: <E1lZfZr-0005An-NR@gemulon.postgresql.org>
Permalink:  ../E1lZfZr-0005An-NR@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1lZfZr-0005An-NR@gemulon.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: alvherre@alvh.no-ip.org
  Subject: Re: pgsql: Fix uninitialized memory bug
  In-Reply-To: <E1lZfZr-0005An-NR@gemulon.postgresql.org>
  References: <E1lZfZr-0005An-NR@gemulon.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