Restrict file mode creation mask during tmpfile().
authorNoah Misch <noah@leadboat.com>
Mon, 21 Sep 2015 00:42:27 +0000 (20:42 -0400)
committerNoah Misch <noah@leadboat.com>
Mon, 21 Sep 2015 00:42:50 +0000 (20:42 -0400)
commit7496aba8085a21f8296f19b2e8f07e9723f946a5
tree0323710abdde19220f1b4fe9db076bb00a7a21fb
parente32c5f118ec2da80fd76da1241dd721ceb3e9127
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