msvcrt: Replaced bad memcpy by strcpy (Coverity).
This commit is contained in:
parent
68f8eff5e0
commit
6ca6464cf3
|
@ -102,7 +102,7 @@ static void remap_synonym(char *name)
|
|||
if (!strcasecmp(_country_synonyms[i],name))
|
||||
{
|
||||
TRACE(":Mapping synonym %s to %s\n",name,_country_synonyms[i+1]);
|
||||
memcpy(name, _country_synonyms[i+1], sizeof(_country_synonyms[i+1]));
|
||||
strcpy(name, _country_synonyms[i+1]);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue