pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix fd leak in pg_verifybackup
Date: Mon, 07 Dec 2020 00:33:26 +0000
Message-ID: <E1km4T0-00035p-Aw@gemulon.postgresql.org> (raw)

Fix fd leak in pg_verifybackup

An error code path newly-introduced by 87ae969 forgot to close a file
descriptor when verifying a file's checksum.

Per report from Coverity, via Tom Lane.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/51c388987734cb318c8fa875f382ca75a34d0010

Modified Files
--------------
src/bin/pg_verifybackup/pg_verifybackup.c | 1 +
1 file changed, 1 insertion(+)



Message-ID: <E1km4T0-00035p-Aw@gemulon.postgresql.org>
Permalink:  ../E1km4T0-00035p-Aw@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1km4T0-00035p-Aw@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: michael@paquier.xyz
  Subject: Re: pgsql: Fix fd leak in pg_verifybackup
  In-Reply-To: <E1km4T0-00035p-Aw@gemulon.postgresql.org>
  References: <E1km4T0-00035p-Aw@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