Restrict file mode creation mask during tmpfile().
authorNoah Misch
Mon, 21 Sep 2015 00:42:27 +0000 (20:42 -0400)
committerNoah Misch
Mon, 21 Sep 2015 00:42:44 +0000 (20:42 -0400)
commit1be9d65e17abc6215a6faae9bc3f714dd3d040b6
treebe63ed343264019c020778b69d4703d3e253c6cd
parent3d3bc2905f2ed6a4858501031c086383be7bcf6a
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.
src/bin/pg_dump/pg_backup_tar.c