Page MenuHome

bug.patch

Authored By
Dan Eicher (dna)
Nov 13 2013, 2:20 PM
Size
502 B
Subscribers
None

bug.patch

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

Mime Type
text/x-diff
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
50/50/33678e9e8ff412a947f2a38b7a08

Event Timeline