msxml3: Check parameters of IXMLDOMNode::insertBefore().

This commit is contained in:
Paul Chitescu 2006-11-02 11:42:05 +02:00 committed by Alexandre Julliard
parent 715d78e006
commit c75d739d32

View file

@ -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: