Commit: 744ef820d136fc3da14003319dd6f49e8633faf5 Author: Campbell Barton Date: Wed Mar 23 03:54:04 2016 +1100 Branches: blender-v2.77-release https://developer.blender.org/rB744ef820d136fc3da14003319dd6f49e8633faf5
Fix incorrect strncat use =================================================================== M source/blender/editors/space_file/file_ops.c =================================================================== diff --git a/source/blender/editors/space_file/file_ops.c b/source/blender/editors/space_file/file_ops.c index ddb8b1c..d83a7d5 100644 --- a/source/blender/editors/space_file/file_ops.c +++ b/source/blender/editors/space_file/file_ops.c @@ -1374,8 +1374,8 @@ int file_exec(bContext *C, wmOperator *exec_op) BLI_parent_dir(sfile->params->dir); } else { - BLI_cleanup_dir(G.main->name, sfile->params->dir); - strncat(sfile->params->dir, file->relpath, sizeof(sfile->params->dir)); + BLI_cleanup_path(G.main->name, sfile->params->dir); + BLI_path_append(sfile->params->dir, sizeof(sfile->params->dir) - 1, file->relpath); BLI_add_slash(sfile->params->dir); } _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org https://lists.blender.org/mailman/listinfo/bf-blender-cvs