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:27 +0000 (20:42 -0400)
commit8346218c029dc0db425e3bea20033f96e1543df9
treeb99ecc84595c8e4c3394cbb10c27a98cdd4de359
parentba51774d87a2a0402628f7bd68295c0b2913cc25
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