replace BLI_strncpy with BLI_strncpy_utf8 where input isnt ensured to be valid.
also replace strcpy's which copy using "" with str[0]='\0'
This commit is contained in:
@@ -3371,10 +3371,10 @@ static void headerTranslation(TransInfo *t, float vec[3], char *str) {
|
||||
if(chainlen)
|
||||
sprintf(autoik, "AutoIK-Len: %d", chainlen);
|
||||
else
|
||||
strcpy(autoik, "");
|
||||
autoik[0]= '\0';
|
||||
}
|
||||
else
|
||||
strcpy(autoik, "");
|
||||
autoik[0]= '\0';
|
||||
|
||||
if (t->con.mode & CON_APPLY) {
|
||||
switch(t->num.idx_max) {
|
||||
|
||||
Reference in New Issue
Block a user