discover: Set umask before mkstemp()
authorSamuel Mendoza-Jonas <sam.mj@au1.ibm.com>
Wed, 11 Nov 2015 23:04:23 +0000 (10:04 +1100)
committerSamuel Mendoza-Jonas <sam.mj@au1.ibm.com>
Fri, 18 Dec 2015 00:15:58 +0000 (11:15 +1100)
commit2c6137dffb1518f5102170cf0eda26c83a31bc63
treebd31842412fe6a4b2e4d87eb766470e43be3ba1e
parent999fd1a2053421b55cdd876049c40beb2921807f
discover: Set umask before mkstemp()

Fixes Coverity defect #30479

Signed-off-by: Samuel Mendoza-Jonas <sam.mj@au1.ibm.com>
discover/paths.c