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:55 +0000 (20:42 -0400)
commitea218a2ba70d9f11f5a271728de26450a9b23d6c
tree6a985820e6c20ba9ed077c13533cf58f6c7ccf04
parent7e6e3bdd3c36d77b8a611dbf5e8c72164bc6108b
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