Drag and drop 2.5 integration! Finally, slashdot regulars can use
[blender-staging.git] / source / blender / editors / space_file / file_ops.c
index 647c1d2be18dbd88d5c6a4d57a7ce8a836f9b22e..93230c79b19f2f9e3bda39c6ddb78c735f9a07ad 100644 (file)
@@ -588,7 +588,7 @@ int file_exec(bContext *C, wmOperator *exec_op)
                RNA_string_set(op->ptr, "filename", sfile->params->file);
                BLI_strncpy(name, sfile->params->dir, sizeof(name));
                RNA_string_set(op->ptr, "directory", name);
-               strcat(name, sfile->params->file);
+               strcat(name, sfile->params->file); // XXX unsafe
 
                if(RNA_struct_find_property(op->ptr, "relative_paths"))
                        if(RNA_boolean_get(op->ptr, "relative_paths"))