Commit 5007dd15 authored by John Selbie's avatar John Selbie

Passing wrong buffer size into GetMappedAddress. Wasn't causing a problem, but fixed anyway.

parent 8f073166
......@@ -431,7 +431,7 @@ HRESULT CStunMessageReader::GetAddressHelper(uint16_t attribType, CSocketAddress
Chk(GetAttributeByType(attribType, &attrib));
pAddrStart = _stream.GetDataPointerUnsafe() + attrib.offset;
Chk(::GetMappedAddress(pAddrStart, attrib.offset, pAddr));
Chk(::GetMappedAddress(pAddrStart, attrib.size, pAddr));
Cleanup:
return hr;
......
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