Commit 6ca6464c authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

msvcrt: Replaced bad memcpy by strcpy (Coverity).

parent 68f8eff5
......@@ -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;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment