Alistair Leslie-Hughes : msxml3: Return E_INVALIDARG on bad parameter.
Alexandre Julliard
julliard at winehq.org
Tue Nov 13 08:34:50 CST 2007
Module: wine
Branch: master
Commit: 8de2d5290a8d2f61adc686e0b6dbc65b09229d71
URL: http://source.winehq.org/git/wine.git/?a=commit;h=8de2d5290a8d2f61adc686e0b6dbc65b09229d71
Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date: Sun Nov 11 22:35:35 2007 +1100
msxml3: Return E_INVALIDARG on bad parameter.
---
dlls/msxml3/domdoc.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/dlls/msxml3/domdoc.c b/dlls/msxml3/domdoc.c
index 8f5f3cb..9a1dba7 100644
--- a/dlls/msxml3/domdoc.c
+++ b/dlls/msxml3/domdoc.c
@@ -671,7 +671,10 @@ static HRESULT WINAPI domdoc_get_documentElement(
IXMLDOMNode *element_node;
HRESULT hr;
- TRACE("%p\n", This);
+ TRACE("%p %p\n", This, This->node);
+
+ if(!DOMElement)
+ return E_INVALIDARG;
*DOMElement = NULL;
More information about the wine-cvs
mailing list