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
c7293055
Commit
c7293055
authored
Oct 11, 2008
by
Michael Karcher
Committed by
Alexandre Julliard
Oct 13, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Correct handling of listLength == NULL in IXMLDOMNamedNodeMap::get_length.
parent
dfc5a00c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
nodemap.c
dlls/msxml3/nodemap.c
+3
-0
domdoc.c
dlls/msxml3/tests/domdoc.c
+3
-0
No files found.
dlls/msxml3/nodemap.c
View file @
c7293055
...
...
@@ -364,6 +364,9 @@ static HRESULT WINAPI xmlnodemap_get_length(
TRACE
(
"%p
\n
"
,
This
);
if
(
!
listLength
)
return
E_INVALIDARG
;
node
=
xmlNodePtr_from_domnode
(
This
->
node
,
0
);
if
(
!
node
)
return
E_FAIL
;
...
...
dlls/msxml3/tests/domdoc.c
View file @
c7293055
...
...
@@ -1003,6 +1003,9 @@ todo_wine
SysFreeString
(
str
);
/* test indexed access of attributes */
r
=
IXMLDOMNamedNodeMap_get_length
(
map
,
NULL
);
ok
(
r
==
E_INVALIDARG
,
"get_length should return E_INVALIDARG
\n
"
);
r
=
IXMLDOMNamedNodeMap_get_length
(
map
,
&
count
);
ok
(
r
==
S_OK
,
"get_length wrong code
\n
"
);
ok
(
count
==
1
,
"get_length != 1
\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