pgsql: Restrict file mode creation mask during tmpfile().

From: Noah Misch <noah(at)leadboat(dot)com>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Restrict file mode creation mask during tmpfile().
Date: 2015-09-21 01:00:46
Message-ID: E1ZdpTK-0008FS-FY@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Restrict file mode creation mask during tmpfile().

Per Coverity. Back-patch to 9.0 (all supported versions).

Michael Paquier, reviewed (in earlier versions) by Heikki Linnakangas.

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/5dc49efe9012793110ef5dab9a9a1a7730a70e3f

Modified Files
--------------
src/bin/pg_dump/pg_backup_tar.c | 12 ++++++++++++
1 file changed, 12 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Noah Misch 2015-09-21 15:14:10 Re: pgsql: Restrict file mode creation mask during tmpfile().
Previous Message Tom Lane 2015-09-20 20:49:14 pgsql: Be more wary about partially-valid LOCALLOCK data in RemoveLocal