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);
|
||||
|
||||
if (!(newChild && outNewChild))
|
||||
return E_INVALIDARG;
|
||||
|
||||
switch(V_VT(&refChild))
|
||||
{
|
||||
case VT_EMPTY:
|
||||
|
|
Loading…
Reference in New Issue