msxml3: Check parameters of IXMLDOMNode::insertBefore().
This commit is contained in:
parent
715d78e006
commit
c75d739d32
@ -386,6 +386,9 @@ static HRESULT WINAPI xmlnode_insertBefore(
|
|||||||
|
|
||||||
TRACE("(%p)->(%p,var,%p)\n",This,newChild,outNewChild);
|
TRACE("(%p)->(%p,var,%p)\n",This,newChild,outNewChild);
|
||||||
|
|
||||||
|
if (!(newChild && outNewChild))
|
||||||
|
return E_INVALIDARG;
|
||||||
|
|
||||||
switch(V_VT(&refChild))
|
switch(V_VT(&refChild))
|
||||||
{
|
{
|
||||||
case VT_EMPTY:
|
case VT_EMPTY:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user