Page Menu
Home
Search
Configure Global Search
Log In
Files
F11020
bug.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Authored By
Dan Eicher (dna)
Nov 13 2013, 2:20 PM
Size
502 B
Subscribers
None
bug.patch
View Options
Index: source/blender/blenlib/intern/path_util.c
===================================================================
--- source/blender/blenlib/intern/path_util.c (revision 28315)
+++ source/blender/blenlib/intern/path_util.c (working copy)
@@ -1312,7 +1312,7 @@
/* linux uses binreloc since argv[0] is not relyable, call br_init( NULL ) first */
path = br_find_exe( NULL );
if (path) {
- strcpy(fullname, path);
+ BLI_strncpy(fullname, path, sizeof(fullname));
free(path);
return;
}
File Metadata
Details
Mime Type
text/x-diff
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
50/50/33678e9e8ff412a947f2a38b7a08
Event Timeline
Log In to Comment