Restrict file mode creation mask during tmpfile().
authorNoah Misch <[email protected]>
Mon, 21 Sep 2015 00:42:27 +0000 (20:42 -0400)
committerNoah Misch <[email protected]>
Mon, 21 Sep 2015 00:43:47 +0000 (20:43 -0400)
commitc94b65f677875140b019bec1f7dc07bd2e14d45b
tree0bee418dc9c06266a87400dbf7737fcaaefc5b36
parentac0c71228fe7e44d9eba130df9bbbb5c2bfa9faa
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