Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
7c1a7491
Commit
7c1a7491
authored
Jan 03, 2008
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Jan 03, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Return E_INVALIDARG when value is NULL.
parent
fe475d9e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
node.c
dlls/msxml3/node.c
+3
-0
domdoc.c
dlls/msxml3/tests/domdoc.c
+4
-0
No files found.
dlls/msxml3/node.c
View file @
7c1a7491
...
...
@@ -219,6 +219,9 @@ static HRESULT WINAPI xmlnode_get_nodeValue(
TRACE
(
"%p %p
\n
"
,
This
,
value
);
if
(
!
value
)
return
E_INVALIDARG
;
V_BSTR
(
value
)
=
NULL
;
V_VT
(
value
)
=
VT_NULL
;
...
...
dlls/msxml3/tests/domdoc.c
View file @
7c1a7491
...
...
@@ -545,6 +545,10 @@ static void test_domnode( void )
VariantInit
(
&
var
);
ok
(
V_VT
(
&
var
)
==
VT_EMPTY
,
"variant init failed
\n
"
);
r
=
IXMLDOMNode_get_nodeValue
(
doc
,
NULL
);
ok
(
r
==
E_INVALIDARG
,
"get_nodeValue ret %08x
\n
"
,
r
);
r
=
IXMLDOMNode_get_nodeValue
(
doc
,
&
var
);
ok
(
r
==
S_FALSE
,
"nextNode returned wrong code
\n
"
);
ok
(
V_VT
(
&
var
)
==
VT_NULL
,
"variant wasn't empty
\n
"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment