summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/graph.c
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs/src/graph.c')
-rw-r--r--libglusterfs/src/graph.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libglusterfs/src/graph.c b/libglusterfs/src/graph.c
index 2d560b7f265..d690047cb68 100644
--- a/libglusterfs/src/graph.c
+++ b/libglusterfs/src/graph.c
@@ -968,6 +968,7 @@ gf_volfile_reconfigure (int oldvollen, FILE *newvolfile_fp,
LG_MSG_ACTIVE_GRAPH_NULL,
"glusterfs_ctx->active is NULL");
+ /* coverity[secure_temp] mkstemp uses 0600 as the mode and is safe */
file_desc = mkstemp(temp_file);
if (file_desc < 0) {
gf_msg ("glusterfsd-mgmt", GF_LOG_ERROR, errno,