Restrict file mode creation mask during tmpfile().

Noah Misch <noah@leadboat.com>

Commit: 8346218c029dc0db425e3bea20033f96e1543df9
Author: Noah Misch <noah@leadboat.com>
Date: 2015-09-21T00:42:27Z
Releases: 9.6.0
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.

Files

PathChange+/−
src/bin/pg_dump/pg_backup_tar.c modified +12 −0