msvcrt: Replaced bad memcpy by strcpy (Coverity).

This commit is contained in:
Marcus Meissner 2011-10-17 00:42:28 +02:00 committed by Alexandre Julliard
parent 68f8eff5e0
commit 6ca6464cf3
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}