Обсуждение: pgsql: Restrict file mode creation mask during tmpfile().
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. Branch ------ REL9_0_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/24aed2124a5273e4cb543b06d4b7bb2c2ad5bf3c Modified Files -------------- src/bin/pg_dump/pg_backup_tar.c | 12 ++++++++++++ 1 file changed, 12 insertions(+)
On Mon, Sep 21, 2015 at 01:00:46AM +0000, Noah Misch wrote: > Restrict file mode creation mask during tmpfile(). > REL9_0_STABLE This broke buildfarm member frogmouth (Windows, gcc) on this branch only. I will look into it.
On 2015-09-21 11:14:10 -0400, Noah Misch wrote: > On Mon, Sep 21, 2015 at 01:00:46AM +0000, Noah Misch wrote: > > Restrict file mode creation mask during tmpfile(). > > > REL9_0_STABLE > > This broke buildfarm member frogmouth (Windows, gcc) on this branch only. I > will look into it. Seems to have broken more than just frogmouth. At least baiji, currawong, narwahl are also affected. Likely a question of 5132ad8b only being in 9.1+: andres@alap3:~/src/postgresql$ git branch -r --contains 5132ad8b upstream/REL* upstream/REL9_1_STABLE upstream/REL9_2_STABLE upstream/REL9_3_STABLE upstream/REL9_4_STABLE upstream/REL9_5_STABLE Greetings, Andres Freund