Restrict file mode creation mask during tmpfile().

Noah Misch <noah@leadboat.com>

Commit: 24aed2124a5273e4cb543b06d4b7bb2c2ad5bf3c
Author: Noah Misch <noah@leadboat.com>
Date: 2015-09-21T00:44:34Z
Releases: 9.0.23
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