ole32: Check for pcbSize in AntiMonikerImpl_GetSizeMax being for NULL, not for non-NULL.
This commit is contained in:
parent
582e2f1ff8
commit
ff5efc2779
|
@ -202,7 +202,7 @@ AntiMonikerImpl_GetSizeMax(IMoniker* iface, ULARGE_INTEGER* pcbSize)
|
||||||
{
|
{
|
||||||
TRACE("(%p,%p)\n",iface,pcbSize);
|
TRACE("(%p,%p)\n",iface,pcbSize);
|
||||||
|
|
||||||
if (pcbSize!=NULL)
|
if (!pcbSize)
|
||||||
return E_POINTER;
|
return E_POINTER;
|
||||||
|
|
||||||
/* for more details see AntiMonikerImpl_Save coments */
|
/* for more details see AntiMonikerImpl_Save coments */
|
||||||
|
|
Loading…
Reference in New Issue