Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2016-01-10 11:45:57 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2016-01-10 11:45:57 +0300
commite9c8e0316fbce2edfc9c2b6d0ddce18a3ea2a22a (patch)
tree1df10df2db106cd3e4c010463c44d4664a054204 /source/blender/editors/space_file
parent0372b642705c5304f252f7691b188fc65dd51b59 (diff)
Some minor fixes from coverity reports.
Diffstat (limited to 'source/blender/editors/space_file')
-rw-r--r--source/blender/editors/space_file/file_ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_file/file_ops.c b/source/blender/editors/space_file/file_ops.c
index ccd1b7cb029..121bf75c4a5 100644
--- a/source/blender/editors/space_file/file_ops.c
+++ b/source/blender/editors/space_file/file_ops.c
@@ -1374,7 +1374,7 @@ int file_exec(bContext *C, wmOperator *exec_op)
}
else {
BLI_cleanup_dir(G.main->name, sfile->params->dir);
- strcat(sfile->params->dir, file->relpath);
+ strncat(sfile->params->dir, file->relpath, sizeof(sfile->params->dir));
BLI_add_slash(sfile->params->dir);
}