usp10: Pass the correct buffer size to lstrcpynA() in load_GSUB_feature().
This commit is contained in:
parent
da40f95efa
commit
7200f91c06
|
@ -780,7 +780,7 @@ static LPCVOID load_GSUB_feature(HDC hdc, SCRIPT_ANALYSIS *psa, ScriptCache *psc
|
|||
else
|
||||
psc->features = HeapAlloc(GetProcessHeap(), 0, psc->feature_count * sizeof(LoadedFeature));
|
||||
|
||||
lstrcpynA(psc->features[psc->feature_count - 1].tag,feat,4);
|
||||
lstrcpynA(psc->features[psc->feature_count - 1].tag, feat, 5);
|
||||
psc->features[psc->feature_count - 1].feature = feature;
|
||||
return feature;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue