[PATCH v2] msxml3: Null check new child in insertBefore.
27 May
27 May
6:10 a.m.
Please split this in two patches, one for document and one for element node.
+ /* NULL to document */ + V_VT(&v) = VT_NULL; + node = (void*)0xdeadbeef; + hr = IXMLDOMDocument_insertBefore(doc, (IXMLDOMNode*)NULL, v, &node); + ok(hr == E_INVALIDARG, "got 0x%08x\n", hr); + ok(node == (void*)0xdeadbeef, "got %p\n", node); + You don't need to cast NULL.
1665
Age (days ago)
1670
Last active (days ago)
1 comments
2 participants
participants (2)
-
Jefferson Carpenter -
Nikolay Sivov