rpcrt4: Improve NdrDllRegisterProxy parameter checking.

This commit is contained in:
Aric Stewart 2010-04-07 11:53:12 -05:00 committed by Alexandre Julliard
parent 0608581768
commit 0e09ade10b

View file

@ -240,6 +240,10 @@ HRESULT WINAPI NdrDllRegisterProxy(HMODULE hDll,
DWORD len;
TRACE("(%p,%p,%s)\n", hDll, pProxyFileList, debugstr_guid(pclsid));
if (!hDll) return E_HANDLE;
if (!*pProxyFileList) return E_NOINTERFACE;
if (pclsid)
format_clsid( clsid, pclsid );
else if ((*pProxyFileList)->TableSize > 0)