Commit 6b1256b2 authored by Andrey Turkin's avatar Andrey Turkin Committed by Alexandre Julliard

mpr: Fix NULL pointer dereference in WNetGetResourceInformationW.

parent 6ef7dafa
......@@ -1418,7 +1418,7 @@ DWORD WINAPI WNetGetResourceInformationW( LPNETRESOURCEW lpNetResource,
if (!(lpBuffer))
ret = WN_OUT_OF_MEMORY;
else
else if (providerTable != NULL)
{
/* FIXME: For function value of a variable is indifferent, it does
* search of all providers in a network.
......
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