replace BLI_strncpy with BLI_strncpy_utf8 where input isnt ensured to be valid.
[blender.git] / source / blender / blenkernel / intern / ipo.c
index 0d3f3cc..5acd6c1 100644 (file)
@@ -942,7 +942,7 @@ static char *get_rna_access (int blocktype, int adrcode, char actname[], char co
                sprintf(buf, "sequence_editor.sequences_all[\"%s\"]", seq->name+2);
        }
        else
-               strcpy(buf, ""); /* empty string */
+               buf[0]= '\0'; /* empty string */
        BLI_dynstr_append(path, buf);
        
        /* need to add dot before property if there was anything precceding this */