mpr: Fix NULL pointer dereference in WNetGetResourceInformationW.
This commit is contained in:
parent
6ef7dafa39
commit
6b1256b2de
|
@ -1418,7 +1418,7 @@ DWORD WINAPI WNetGetResourceInformationW( LPNETRESOURCEW lpNetResource,
|
||||||
|
|
||||||
if (!(lpBuffer))
|
if (!(lpBuffer))
|
||||||
ret = WN_OUT_OF_MEMORY;
|
ret = WN_OUT_OF_MEMORY;
|
||||||
else
|
else if (providerTable != NULL)
|
||||||
{
|
{
|
||||||
/* FIXME: For function value of a variable is indifferent, it does
|
/* FIXME: For function value of a variable is indifferent, it does
|
||||||
* search of all providers in a network.
|
* search of all providers in a network.
|
||||||
|
|
Loading…
Reference in New Issue