Commit 1ba57ce5 authored by Paul Gofman's avatar Paul Gofman Committed by Alexandre Julliard

wbemprox: Copy correct substring to *namespace in parse_resource().

parent 613044fa
......@@ -139,7 +139,7 @@ static HRESULT parse_resource( const WCHAR *resource, WCHAR **server, WCHAR **na
if (!(*namespace = heap_alloc( (len + 1) * sizeof(WCHAR) ))) hr = E_OUTOFMEMORY;
else
{
memcpy( *namespace, p, len * sizeof(WCHAR) );
memcpy( *namespace, q, len * sizeof(WCHAR) );
(*namespace)[len] = 0;
hr = S_OK;
}
......
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