- fixed bug: strcat used instead of strcpy.
is dangerous on unitialized stack string...
This commit is contained in:
@@ -449,7 +449,7 @@ static char *ipo_modeselect_pup(void)
|
||||
|
||||
strcpy(string, "Display IPO type: %t");
|
||||
|
||||
strcat(formatstring, "|%s %%x%d");
|
||||
strcpy(formatstring, "|%s %%x%d");
|
||||
|
||||
if(OBACT) {
|
||||
sprintf(tmpstr,formatstring,"Object",ID_OB);
|
||||
|
||||
Reference in New Issue
Block a user