mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:43:31 +00:00
snmpapi: Add a missing memcpy.
This commit is contained in:
parent
df2c8a2551
commit
4270d13b18
1 changed files with 1 additions and 0 deletions
|
@ -54,6 +54,7 @@ static INT asn_any_copy(AsnAny *dst, AsnAny *src)
|
|||
UINT length = src->asnValue.string.length;
|
||||
|
||||
if (!(stream = HeapAlloc(GetProcessHeap(), 0, length))) return SNMPAPI_ERROR;
|
||||
memcpy(stream, src->asnValue.string.stream, length);
|
||||
|
||||
dst->asnValue.string.stream = stream;
|
||||
dst->asnValue.string.length = length;
|
||||
|
|
Loading…
Reference in a new issue